How to show and make a question mandatory when any of four rating questions is below 5 in Survey?

JackieZhang
Kilo Sage

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.

2 REPLIES 2

GlideFather
Tera Patron

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:

GlideFather_0-1778781530247.png

 

and there select values when the second question is supposed to be visible under the Dependency tab:

GlideFather_1-1778781570790.png

 

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.

Tanushree Maiti
Mega Patron

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

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: