Select to view content in your preferred language

Survey 123 Conditionally Required Question

19155
4
Jump to solution
01-10-2017 09:52 AM
BrentKinal1
Frequent Contributor

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:

  • Yes
  • No

Question 2:

  • Animal
  • Vegetable
  • Mineral
  • Other

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.

1 Solution

Accepted Solutions
IsmaelChivite
Esri Notable Contributor

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.

typenamelabelrequired
select_one yes_nonextrequiredMake next question required?
textcommentsCommentsselected(${nextrequired},"yes")

View solution in original post

4 Replies
BrentKinal1
Frequent Contributor
IsmaelChivite
Esri Notable Contributor

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.

typenamelabelrequired
select_one yes_nonextrequiredMake next question required?
textcommentsCommentsselected(${nextrequired},"yes")
AnnaScholl
Regular Contributor

LydiaYoungblood_0-1685730791137.png

It seems unable to accept this solution? 

 

EJCAdmin
New Contributor

Thanks,

This runs perfectly for me.  Just had to modify for my specific survey first.

0 Kudos