Topic: Form seems to ignore occAttr:n cutomisation
I have two occurrence attributes defined, occAttr:3 and occAttr:4 an I would like to make these data persistent over sample inputs, after page reloads. My User Interface->Form structure looks like this:
=Species=
?Please enter the species you saw and any other information about them.?
[species]
@resizeWidth=1500
@resizeHeight=1500
[species attributes]
[*]
@occAttr:4|lockable=true
@occAttr:3|lockable=true
=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 to set it.?
[spatial reference]
@lockable=true
[place search]
[map]
[*]
@scroll_wheel_zoom=false
@clickedSrefPrecisionMin=6
=Other Information=
?Please provide the following additional information.?
[date]
@lockable=true
[sample comment]
@lockable=true
[*]
@smpAttr:3|lockable=true
=*=
The "smpAttr:3|lockable=true" works as expected along with all the other lockables but the "occAttr:n" values are ignored. If I use the alternate code:
[occAttr:3]
@lockable=true
I get this error "The form structure includes a control called [occAttr:3] which is not recognised." This format works fine with smpAttr:n values.
Refs:
https://code.google.com/p/indicia/wiki/ … rkedRecord
https://indicia-docs.readthedocs.org/en … ht=occAttr
http://gis.westwalesbiodiversity.org.uk … ?q=node/11
Regards
Mike Evans