Select Box choices dependant on another Select Box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2017 12:47 PM
Can I do this without creating a new table?
I have two variable select boxes.
The first one has choices A, B and C.
My second select box has choices, but they are dependant on what is selected on Select Box one.
Someone suggested that I add my choices to variable Select Box one (like normal), and then with Select Box two, choose the sys_choice table for "Choice Table" and Value for "Choice Field."
Then go to they sys_choice table and add:
Table: sc_req_item
Element: (my select box one field)
Lable: the label of one of my select box two choices
Value: the value of one of my select box two choices
depends on: the choice of on of the select box one choice.
and keep adding for each select box 2 choice.
Unfortunately this is not working. Am I missing something? Or is the only way to do this is with a table and a client script?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2017 01:16 PM
Hi Lisa,
please correct me if i am wrong.
as per my understanding you want to show the values in select box 2 based on the values you have selected in select box1.
if this is your requirement then i will create onchange() catalog client script .
may i know what are the values you have for select box2.
Thanks,
Harshvardhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2017 06:43 AM
Here's my solution to this. Remember, I don't have this info in a table. This is just purely all done with Select Boxes. There is a problem with this though, when the Item and Task get created, now I have a bunch of empty select boxes in the Item and Task.
So the customer wanted a select box called "Request Type" with selections in them like Radio, Rapid Deployment and Implemention.
Then they want a second select box with different selection depending on what the customer selects in Request Type. So if they selected "Radio" then the second select box would show "PDR" "Portable" and "Other". If they select Rapid Deployment then the selections will be: "Spectrum Support" "Technical Support" and "Other"
We created a Select Box for Request Type, then created a different select box for each batch of selections from the main Request Type. So I created another Select Box and named it sb_Radio and the choices would be "PDR" "Portable" and "Other" and another select box called sb_rapid_deploy and the choices would be "Spectrum Support" "Technical Support" and "Other" and on and on.
THEN create a Catalog UI Policy to unhide each one depending on what was selected on Request Type. It's really nice and easy, but now I have like 10 select boxes on my Item and Task and I only would like the two of them to be brought over if filled out (request type and the corresponding select box which is determined by what ever the user selected in the Request Type box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2018 02:43 AM
You can extend the catalog UI policies to run on catalog task and request item as well so that the same set of variables will appear on all three forms( catalog item view, request item and catalog task)
Thanks
Anil

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2017 06:49 AM