Hi, does anyone know if there's a way to require a question to be answered correctly in order to continue filling out a form or in order to send it? I'm thinking of a required question which would require the user to type in the correct answer to fill out or submit the form. I've searched around a bit and haven't really found what I'm looking for, but I have very limited experience creating forms in Survey123 so maybe I'm missing something. Thank you!
Is this going to be a pre-determined question/answer that will stay the same for every single survey that is submitted? Or will the answers be dynamic?
If the answers are going to be the same every time, here is what you can do. Create your question in Survey123, and then add a constraint to it. The constraint will prevent the survey from sending unless it meets the criteria of the constraint. And then you can also include a constraint message that will tell the user if the answer is not correct.
I attached a screenshot example below. For this one, there is a constraint of .="test" meaning that it will only submit the survey if the user inputs test in the question. If they enter anything else, there is a constraint message stating that. Note that for text responses, the text value needs to be in quotes in the constraint.
Thank you! I tried this out and it works!
Thank you! I like the look of this!
You might find this resource on self-check quizzes to be helpful: How to add a self-check quiz into ArcGIS StoryMaps using Survey123