How to make string field Mandatory when survey questions are answered?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
I am trying to make a string field in a survey mandatory when a user selects Poor or Very Poor for any of the smiley-rating questions.
The survey contains four questions, each with a 5-point smiley rating. If the user selects Poor or Very Poor for any of these questions, the string field should become mandatory. Otherwise, the string field should remain visible but not mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
47m ago
you can show/hide question based on previous survey question value
but you can't make it mandatory/non-mandatory based on previous question value
Approach
Create two-comment-fields : one comment question is shown only for low ratings and is mandatory, while the other is shown for non-low ratings and is optional
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader