Hi,
How can one ensure that a required geopoint question is answered such that the next questions after it doesn't show unless the geopoint question is answered?
Also, is it possible to rename completed surveys sent to the outbox with unique names for every completed survey?
Douglas
Hi Douglas,
There are a couple of methods of checking for valid answers on a geopoint question. at a basic level, you could have a relevant statement check for ${geopoint} != "" . Since Survey123 will try to automatically populate the location, you may want to instead check based on certain boundaries or accuracy requirements. Looking based on extent was described by Michael Kelly in Limiting Extent in which a Point can Exist ; the body::horizontalAccuracy column can enforce an accuracy requirement (if you want to make sure that a point is manually set, not from the GPS, you could also use the pulldata command to check that the horizontal accuracy is empty.
On creating unique names for each survey, this is done with the instance_name setting - see Instance name—Survey123 for ArcGIS | ArcGIS for more information on that. Ismael also just blogged on creating unique identifiers for surveys (which could then be used in instance_name) - see Creating 'Ticket Numbers' in Survey123 for ArcGIS.