How to set a default value of survey question

shilpa344
Giga Expert

Hi All,

I have a requirement where if user do not attempt a survey question a default response/answer should get selected.

So, I have 5 questions on the survey and each one is having below answer.

Very Satisfied - 5, Satisfied - 4, Neutral - 3, Unsatisfied - 2, Very Unsatisfied - 1, N/A - 0

Now, I wanted to send response as N/A in case survey respondent chooses to not answer any one the question.

Note: Survey questions are not mandatory

 

Is there a way to achieve this OOB or may be using script?

 

Thanks!

1 REPLY 1

Paul Curwen
Giga Sage

This is a very common question. You used to be able to do this in Legacy Surveys but it has changed. ServiceNow's response is:

 

'The survey designer does not have any field known as "set default value". One of the reason we are not supporting is , we send survey to get the user's feedback and populating default value in the question is not useful . '

 

So if you design a survey then you really need to make most quotations mandatory. If you do not want a question to be mandatory, you can always write a Business Rule that checks when a new survey question is answered and adjusts the value as require to default if no answer was given. Although as ServiceNow say putting defaults in is a little suspect on a survey. 

 

See this which may also be helpful: https://www.servicenow.com/community/developer-forum/default-value-in-survey-design/m-p/2256007

 

If helpful please mark as Helpful/Correct

 

 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul