Show choices based on other field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 04:49 AM
Hi Team,
we have requirement that we have two choice fields 1.Region 2.category in region we have two choices a)Japan b)Singapore we have to show category choices based on region filed for example Region is Japan we have to show category choices a)a b)b c)c and if region is Singapore we have to show choices a)e b) f c)g can anyone help me how to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 07:35 AM - edited 10-20-2024 07:40 AM
Hi @Shabbir1 ,
You can simply configure the dictionary of 'Category' as dependent of 'Region' by setting the 'Dependent field' tab and then under the 'Choices' tab put the respective values from 'Region' choice values in each 'Dependent value' field.
Please have a look at below two screenshots of OOB incident form showing how 'Subcategory' field choices are configured to be dependent on 'Category' field choices.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 07:42 AM
you can have the 2nd field dependent on 1st
OR
you can have onChange client script on 1st to show relevant options in 2nd one
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 09:37 AM
Hi,
If you are trying from Service Catalog through variables then you can use 'Catalogue look up variables'. Please refer below link for further understanding.
Suresh.