How to show and make a question mandatory when any of four rating questions is below 5 in Survey?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I'm working on a ServiceNow survey and need to implement the following logic:
Question 1, Question 2, Question 3, and Question 4 are rating-scale questions (values 1 to 5).
If any of these four questions has a score below 5, then Question 5 should appear and become mandatory.
I’ve tried several approaches but haven't found a working solution: I couldn't find a "Conditional Visibility" option in the metric form. I used the "Depends on" field, but it only allows me to select one parent question. I need an OR condition across four questions. Any advice or documentation references would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Ahoy @JackieZhang,
go to Survey Designer, create the questions - one as a prerequisite and one optional with the conditions from the 1st one.
Something like my draft:
and there select values when the second question is supposed to be visible under the Dependency tab:
This is quite intuitive and easy to achieve, if needed more options, then create more questions and you can do the dependency accordingly.
My example adds a string question but it can be anything, if you want to make it mandatory it is under the Properties tab. A mandatory question with condition will be visible+mandatory only if the conditions are satified.
Then click on Preview survey to validate the behaviour.
Let me know how you progressed
Answers generated by GlideFather. Check for accuracy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10m ago
Hi @JackieZhang
Navigate to Survey > Survey Administration > Surveys.
- Open your survey.
- Configure Dependency on Question 5:
- Click the Gear Icon (Edit) on Question 5.
- In the Depends on section, you will need to link Q5 to Q1-Q4
- In the same Configuration panel for Question 5, locate the Mandatory option.
- Set the Mandatory field to True (checked).
- Ensure the Depends On rule is set to trigger when any rating is 1, 2, 3, or 4
