Page 1 of 1
Dynamic field visibility

Posted:
Wed May 09, 2012 6:38 pm
by clawes
I need a way of making a field visible and required if a prior field (checkbox) is selected.
For example, show the State list only if the Country USA is selected. Otherwise, the State list is not visible.
TIA
Re: Dynamic field visibility

Posted:
Tue May 15, 2012 9:44 am
by shannah
You'll need to do this with Javascript.
Create a function that updates the visibility of the field that you want to hide based on the value of the one field. Add this function to both the document ready event and the change event of the other element.
-Steve
Re: Dynamic field visibility

Posted:
Tue May 15, 2012 10:55 am
by clawes
I came to the same conclusion after doing some further research.
Have to brush up on my javascripting skills...
Thx.