Dynamic field visibility
Archived from the Xataface Users forum.
clawes — Wed May 09, 2012 6:38 pm
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
shannah — Tue May 15, 2012 9:44 am
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
clawes — Tue May 15, 2012 10:55 am
I came to the same conclusion after doing some further research.
Have to brush up on my javascripting skills…
Thx.