Hi,
Relatively new Survey123 user here. I'm working on a species recording form for a wildlife monitoring programme. The surveyor selects a survey site from a multiple choice list, for which there are associated survey waypoints. When the user selects the site, a choice filter restricts the survey waypoints to those present in that site (e.g. Site 1 contains waypoints 1-20). During the survey, the surveyor should visit every waypoint, and record if any species were found at it or not. At the end of the survey, I want to include a note that warns them they have not recorded species presence/absence at every available waypoint for that site if they have not done so. This will be dependent on whether all waypoints have been selected during the form, using a relevant function that must compare the number of waypoints surveyed to the number available at that site. Is there a way I can get the Survey123 form to:
- Keep track of which of the waypoint choices at the selected site have or have not been selected?
- Count the number (e.g. 18 out of 20 choices) of waypoints that have been selected?
I have considered I could use an if statement combined followed by a count function to log when each waypoint is selected throughout the form repeats, but for this monitoring scheme there could eventually be 100's of sites, with 1000's of waypoints which makes this unsuitable (I may instead store these in an external_select, rather than storing these in the choice tab of the XLSForm). The other part of this potential workaround would be to use pulldata to identify the number of waypoints associated with a site, but I don't know how I would pull off the if statement issue with such a large number of waypoint options.
Any suggestions?
Thanks in advance.
Rob
#Survey123