Show values in dropdown field based on values selected from first dropdown field in record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 02:23 PM
Hi,
I have requirement to show values on field 2 based on a value selected from field 1. For example, if field 1 value = 1, show field 2 values a, b, and c. If field 1 value = 2, show field 2 values as xyz, and so on. Can I do this without scripting and using dependent value field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 07:10 PM
Hi,
Please check below thread, multiple solution are provided on this to resolve similar issue.
Please try those solutions and let us know if you face any issue.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 12:41 PM
Hello Anil,
Looks like the only way to achieve what I want from a Service Portal standpoint is to use OnChange client script. Is this correct?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 04:21 AM
If this does not work in your case then you need to go for onChange client script.
Use addOpetions and removeOptions to manage choices based on field.
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 07:13 PM
Yes you can. This is how the subcategory field on the incident table is configured.
- Open an Incident
- Right-click on the label of the "Subcategory" field in the form
- Select Configure Dictionary.
- Notice the "Use dependent field" box is checked
- The "Dependent on field" is set to "Category
- and then each choice at the bottom has a Dependent value