In one scenario I am trying to display certain choices based on choice selected on other field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 09:01 PM
I have two fields on my table - Product and Type.
My Product field is a select box and Type field is reference field which is referring to a table.
In Product field I have a choice and if that choice is selected the Type field should show me only 4 choices in lookup (as type is reference field), how can I achieve this.
This is on table level.
- Labels:
-
IT Fundamentals Dashboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 02:22 AM
Hi @taahamushtaq ,
1.Create on change client script and send choice value to script include using GlideAjax
2. In server side script (Script include) glide to reference table and push the answer into array, return array
3. fetch the data in client script using answer variable, split the data and set in reference field.
let me know if you have any questions.Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 02:35 AM
You should do this similar to how servicenow is doing with assignment group and assigned to on task forms.
Make use of dependent field.
Regards,
Pratiksha