Is there a way to make a question in survey conditionally required? I would like a question to be required if a previous group of questions are answered a certain way, otherwise I would like the question to be optional. I realize I can expose or hide questions based on previous answers but haven't found any documentation demonstrating the the ability to make a question required if a previous condition is met.
The idea would be something like this.
Question 1:
Question 2:
Question 3:
if Question "1" = Yes and Question 2 = "Other", then answer to Question 3 is required, if different answers to questions 1 & 2 the surveyor has the option to answer question 3 but it would not be required.
Solved! Go to Solution.
Support for expressions in the required column has been implemented.
Attaching an example showing how this can be done with version 3.11 and newer.
type | name | label | required |
---|---|---|---|
select_one yes_no | nextrequired | Make next question required? | |
text | comments | Comments | selected(${nextrequired},"yes") |
A work around for this can be found here: Make a question required conditionally based on answer to previous question
It seems unable to accept this solution?
Thanks,
This runs perfectly for me. Just had to modify for my specific survey first.