Copy link to clipboard
Copied
I have one drop down box in a form. The value of that box consists of two values, let say "A" and "B". I want situation like following :
For example, when the page is loaded the default value for drop down box is "A".
When I change the value into "B", I want one or more new field appear in the form. Then when I changed the value into "A" again, the field that appeared before, become disappeared.
Is there any reference or code sample to solve this problem ?
Thanks in advance
There's nothing server-side in anything you described there.
--
Adam
Copy link to clipboard
Copied
This is not really a CF question, as your requirement is mostly on the front end.
I reckon you're best off googling "jquery dynamic forms", and you should find a bunch of stuff.
--
Adam
Copy link to clipboard
Copied
So this problem actually doesn't relate to the server scripting code ?
Is it only related to the client scripting ?
Copy link to clipboard
Copied
There's nothing server-side in anything you described there.
--
Adam