I am designing a form that picks up a point during a field survey and, for each repeat, counts the number of points collected. I then use that count to help label the point. The crew would return to the hotel, 'Choose Send Now'. When they return to site, and start up the form, I would like the form to continue from the previous days count. ex: If 3 points were chosen the previous day, the count would begin at 4.
Does anyone know how to accomplish this?
See Below...
type | name | label | hint | guidance_hint | appearance | required | required_message | readonly | default | calculation | constraint | constraint_message | relevant | choice_filter | repeat_count | media::audio | media::image | bind::type | bind::esri:fieldType | bind::esri:fieldLength | bind::esri:fieldAlias | body::esri:style | bind::esri:parameters | parameters | body::accept | body::esri:visible | body::esri:inputMask | label::language (xx) | hint::language (xx) | guidance_hint::language (xx) | required_message::language (xx) | body::accuracyThreshold | bind::esri:warning | bind::esri:warning_message | bind::saveIncomplete |
select_one IPADNo | IPADNo | IPAD No | minimal | esriFieldTypeString | 4 | ||||||||||||||||||||||||||||||
begin repeat | GetSampleLocation | CAPTURE SUB SURFACE SAMPLE DATA | field-list | ||||||||||||||||||||||||||||||||
geopoint | SampleCoordinate | Capture Sample Location | minimal | esriFieldTypePointZ | |||||||||||||||||||||||||||||||
integer | CountSamples | Count Samples | count (${GetSampleLocation}) | esriFieldTypeInteger | |||||||||||||||||||||||||||||||
text | SI_Name | Sample Number | minimal | if(${CountSamples}< 10, "S" + ${IPADNo} + "000" + ${CountSamples}, "S" + ${IPADNo} + "00" + ${CountSamples}) | esriFieldTypeString | 8 | |||||||||||||||||||||||||||||
end repeat | CAPTURE SUB SURFACE SAMPLE DATA |
Solved! Go to Solution.
Hi Barbara
It made no sense that the form didn't work so this weekend I redid the form... typing everything out (no copying) and it now works.
Thanks for your help,
Have a gr8 day
Andreas
Glad you got it working!