Catalog Item with multi-row variable sets 'required' issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello!
I have a catalog Item that basically asks 5 questions. For four of those questions, if the answer is 'yes', then i show a multi-row variable set. For one of the questions, if the answer is 'no', i show a multi-row variable set.
That part I have working as expected, however, some of the variables in the variable sets need to be 'required' if that variable set is active=yes or 'shown'.
Currently, if i make the variable that I need to be required in each variable set, then when the catalog item is loaded, ALL questions are shown-the initial 5 plus all questions in each variable set.
Question- How do I only show the 5 needed questions, then if the answer is 'active=true', show the variable set with required fields at that time?
Thanks for your assistance in advance. !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Sorry... My variable sets are 'SINGLE ROW'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you will have individually show/hide and make those variables mandatory 1 by 1.
You cannot make all the variables within Single row variable set as mandatory.
share what you tried and screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader