display drop down values dynamically

narendrad
Kilo Contributor

Can any one please let me know how to display drop down values dynamically based on another field selection?

I have 2 drop down fields. First drop down has 2 choices(value 1 and value 2). second drop down has 10 values.

If I select value 1 from first dropdown, I want to display second drop down with only few related choices out of available 10.

1 ACCEPTED SOLUTION

tylerjones
Tera Contributor

Hi Narendrad - You'll want to modify the sys_choice table records with dependent values. The dependent values will be the "value" or "sys_id" data of the record you're referencing. See my post below for examples of how we did this.



Multi-field sys_choice dependency



Let me know if you have any questions!


View solution in original post

5 REPLIES 5

tylerjones
Tera Contributor

Hi Narendrad - You'll want to modify the sys_choice table records with dependent values. The dependent values will be the "value" or "sys_id" data of the record you're referencing. See my post below for examples of how we did this.



Multi-field sys_choice dependency



Let me know if you have any questions!


ASA5
Kilo Sage

Hello narendrad ,



You can do it using client script on the form that contains the drop down field.



Maybe this link can be helpful : Choice list with multiple dependent values?


Bharath40
Giga Guru

Hi narendrad,



I have answered similar to this here Question - List Collectors . Please let me know if you have questions.


Abhinay Erra
Giga Sage

Use a lookup select box instead and then use a reference qualifier on that variable.