1

Topic: Duplicated fields in Form

In the test warehouse, I have my survey ("Sightings") set up with 3 blocks in the occurrences section. The 3rd block contains some fields which specify some location background information.

In Drupal 6, I have the form set up with:
=Species=
?Please enter the species you saw and any other information about them.?
[species]
@default=523860
@resizeWidth=1500
@resizeHeight=1500
[species attributes]
=Place=
?Please provide the spatial reference of the record. You can enter the reference directly, or search for a place then click on the map.?
[place search]
[spatial reference]
[map]
=Other Information=
?Please provide the following additional information.?
[date]
[sample comment]
[x]
=*=

([x] is actually an * but I can't post the forum message with it like that)

My 3 blocks of fields seem to appear at the [species attributes] section, which is OK (but I'd really prefer my 3rd block to appear under =Place=).

My problem is that I seem to have that 3rd block of fields duplicated - once inside the block, with block title, and again underneath (but outside a block and with no title. How can I get rid of that duplicate? I've refreshed the iform and drupal caches btw...

Anyone got any suggestions?

Thanks.

2

Re: Duplicated fields in Form

OK. Fixed it. In the warehouse, Occurrence attibutes view, the offending fields had been marked for use in the survey in question AND non-specific survey...

3

Re: Duplicated fields in Form

Hi

I wonder if those fields which will hold location background information should be custom sample attributes rather than occurrence attributes.

The sample contains information like date and grid reference which apply to all the occurrences belonging to that sample (since one sample may have many occurrences). The occurrences contains the species information and attributes specific to that particular species.

If your location background information was, for example, whether each bird in your sample was seen flying over, in a tree, on the ground, that relates to the occurrence and would be an occurrence attribute.

On the other hand if your location background information was nearest town, habitat type or land owner, for example, they would be sample attributes.

If they were sample attributes then they could easily be put under =Place=.
[Species attributes] is a slightly more user friendly way of saying occurrence attributes which is why they are showing up where they are currently.

Jim Bacon.