Survey Designer Scripting

pk2184046
Tera Expert

Hi All,

 

I have a requirement to have a yes/no questions non mandatory and if user selects all the questions answer as no then it should throw an error and user should not be able to submit the survey and the survey comes up in the service portal. Is it possible to do if yes how can we acheieve,

1 ACCEPTED SOLUTION

@pk2184046 

it's OOTB portal page which renders survey in portal.

you will have to do heavy customization in your own widget etc

I will recommend not to do that due to code maintenance over period of time during upgrades.

Stick to OOTB.

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@pk2184046 

you can make other survey question dependent on the previous one

But scripting not possible, check this

Controlling Mandatory of Survey question based on other Survey question in same Survey 

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

 

Is it possible to show any pop up in survey designer? ? based on our conditions

@pk2184046 

it's OOTB portal page which renders survey in portal.

you will have to do heavy customization in your own widget etc

I will recommend not to do that due to code maintenance over period of time during upgrades.

Stick to OOTB.

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader