Hello,
I am working on a form which requires a user to select an item from a drop down which in turn shows/hides fields and labels further down the form. I have set up the drop down with a number of events which in turn show/hide the fields by their ID based on the selection. I have also set the fields further down the page with initial load state of hidden. The issue I am running into is that even though the show/hide on fields is working properly, the labels which are associated with the fields are always displayed, which is very confusing. I looked at the Show/Hide Javascript that is being generated by Chronoforms and it does appear to only target the fields not the labels. Is this by design? Is there a way to show/hide both the field and label?
Any guidance would be greatly appreciated.
Thanks!
I am working on a form which requires a user to select an item from a drop down which in turn shows/hides fields and labels further down the form. I have set up the drop down with a number of events which in turn show/hide the fields by their ID based on the selection. I have also set the fields further down the page with initial load state of hidden. The issue I am running into is that even though the show/hide on fields is working properly, the labels which are associated with the fields are always displayed, which is very confusing. I looked at the Show/Hide Javascript that is being generated by Chronoforms and it does appear to only target the fields not the labels. Is this by design? Is there a way to show/hide both the field and label?
Any guidance would be greatly appreciated.
Thanks!