Hide/Show Survey Question

JackieZhang
Kilo Sage

How to hide/show survey question based on very complex condition? can we used unload client script for it?

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@JackieZhang 

surveys don't support show/hide logic based on client script

they can have dependency on other questions and when that condition meets it shows/hides

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Ok. Exactly what I think. 

@JackieZhang 

Please inform customer about the platform limitation and OOTB behavior

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Kilo Patron

Hi @JackieZhang 

 

1. For complex logic, you can hide survey questions based on dependencies. Question C depends on B, which depends on A. The survey engine evaluates these to show/hide questions dynamically.

Refer following post for screen shots:

How can I hide or set read-only a survey question 

 

For Visual help , check this video.

https://www.youtube.com/watch?v=8TqvqZMfZow&t=5s

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:
Hello Guys, In this video I have explained that how to show or hide form section based upon some condition in servicenow. If you really like my effort please like the videos, subscribe the channel. If you have suggestion or feedback , please comment in comment box.