Select Box choices dependant on another Select Box

kemmy1
Tera Guru

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?

19 REPLIES 19

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"?

Hi @kemmy1 

Thank you so much - it is working fine.

 

Thanks,

Saikrishna

Hi same script i used but its not working on Portal its working on Native View what may be the issue

network1.jpgnetwork2.jpg

Above are the screenshots attached

what if there are so many options for each selection?