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
11-04-2022 06:08 AM
I could be wrong, but I don't think you have to add the "variable" to your field names. Do you get any back when you do the addinfomessage of the variable "get"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2022 10:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 09:49 AM
Hi same script i used but its not working on Portal its working on Native View what may be the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 10:23 AM
Above are the screenshots attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 07:21 AM
what if there are so many options for each selection?