I would like to restrict survey responses and would like to use an access code that i can provide to respondents that they can input before completing a survey. Can this be done technically?
Thanks. that looks exactly like what i was looking for!
Beware! The Login Action is based on survey attempts, not completes. So if someone has started the survey and not completed, but then tries again, they will be locked out from the second attempt.
We built a script based on sgapiList and filtering on Complete, to test for a second attempt after a complete. Ours isn’t fully tested yet, but there is an example in the custom scripting documentation. You’ll have to learn about REST and filtering which was a big challenge.
Check out the Login Action feature, it should be exactly what you are looking for:
Hope this helps!