I have a dynamic form. With a radiobutton
field and a select
. According to the value that I select in the option I populate the field list with values selected.
Example.
Option 1 Option 2
When you select option 1, the select field is populated with Item A Item B Item C
When you select option 2, the select field is populated with Item X Item W
The biggest problem is how to insert options
into select
with JavaScript.