Hello,
I am attempting to include a repeat into my survey created on the back of a Feature Service. I would like the user to locate the address in one question, and be able to add multiple answers / points during the Survey.
However, when I attempt to add a repeat, S123 Connect states that the 'Table repeat_entry not found'.. error
I don't want to add a related table, I just want 2 points at the same spot if possible.
| type | name | label |
| geopoint | location_point | Point |
| begin group | registrant_contact | Registrant Contact Info |
| text | fulladdress | Registrant's Address |
| text | firstname | Registrant's First Name |
| text | lastname | Registrant's Last Name |
| text | Registrant's Email | |
| text | phone | Contact Phone Number |
| text | countryclub | Are you located in a Complex or Country Club? |
| end group | ||
| begin repeat | repeat_entry | Click + to add more than one |
| begin group | registrant_property | Registrant Property Info |
| select_one registry_type | regtype | What are you registering? |
| select_one PD_Registry_Bike | bikegender | Bicycle Gender |
| text | year | Year |
| text | make | Make of ${regtype} |
| text | model | Model of ${regtype} |
| text | color | Color |
| text | serialnum | Serial Number / Owner Applied Number |
| text | description | Description |
| select_one YesNo | gps | Does this vehicle has a GPS Tracker? |
| file | filesubmission | Please submit a clear picture of Property |
| end group | ||
| end repeat | ||
| text | addnum | Address number |
| text | streetname | Street Name |
| text | unit | Unit |
| text | city | City |
| text | state | State |
| text | zipcode | Zipcode |
| text | F_addressid | F_addressid |
| select_one GISStatus | Status | Status |
It may help if you include your XLSX.
A repeat is, by its very nature, a related table.
Thank you, I guess what I am looking for then would not be a repeat.. but maybe a way after the submission of the survey to transfer data from the existing survey to open a second one for the user to complete.
What happens if you put the geopoint in the repeat, does it capture multiple geometries that way?
Sounds like what I was attempting to achieve will not work, where ever I put the geopoint because I indeed do not have a related table. For this question though, the error of not finding the repeat table still occurs. Thanks for the idea.
Survey123 does not allow you to have multiple points/lines/polygons in a single record (aka multi-geometry). If you need multiple points/locations collected for the same site for example, you have two options:
- collect new records with the same site id/attributes (you can mark entries as 'favourites' in Survey123 so you don't have to type the same repeatedly)
- collect a single point/location for the main record (eg. for the site), and collect the multiple other (sub)locations in a repeat. (These will go to a related feature service/table as that's how repeats work in the app.)
Hope this helps.
Thanks, I mis-understood what the repeat feature actually did at the time thinking I could use it not in a related table, but to repeat the collection of the data point.