I'm trying to setup a form, in my mind this is how I see it:
Loop screen - Primary Key "Event" as Short Text, "Location" as GPS, "Date" as Date(Today)
The looped screen - "Name" as Short Text, "Signature" as a Signature
So at the start of the day, the user goes into the app, enters the event name (GPS and Date are hidden and auto-filled) and clicks NEXT then the 'Name/Signature' screen is shown.
As attendees enter, they fill in name and signature, click DONE and the app returns to a new blank name/signature form for the next attendee to fill in, when they have all signed in, the user submits the form 'closing' the event.
What actually happens is:
User opens the app
"Event Name" is shown with a button {+ add New Row} - user clicks
User enters "Event Name"
Name/Signature Screen is shown, attendee 1 enters name and signature and clicks DONE
App returns to "Event Name" with the {+ add new row} button, if NEXT is clicked the event is submitted with just the first attendees name.
I've been playing about with it a bit but can't see how to setup the loop as I need it, is that possible at all?
Comments
Please sign in to leave a comment.
Howdy Robin,
Welcome to the Community! For this use case, a Loop screen would be a great tool to collect attendee names and signatures.
From the results you have described so far, it sounds like the Event Name has been set as the key field for your Loop.
I would advise using the Attendee Name as your key field, with the Event Name on a previous screen. Here is a screenshot with an example of how the App could be structured:
In this example App, I have set up the first screen (Event Details) for the user to input the Event Name, while the GPS and Date are automatically captured in Hidden fields.
The second screen is a Loop, where the attendee will be able to add a new line item by inputting their name. On the next screen in the Loop, they can input a signature, then hit 'Done' to return to the key field (Attendee Name), where another guest can add their name.
Key Field
Loop Screen
The final screen is just static text, advising the user to complete the submission when all attendees have added their names and signatures.
You could also use the 'Attendee Signature' screen to capture additional attendee information, by adding other fields for different details.
I hope this helps!