Expand my Community achievements bar.

Show/Hide a Section

Avatar

Former Community Member
Any help on this would be greatly appreciated.



I have a form that needs to have 3 or 4 HIDDEN sections. Based on what the user selects (via, radio or other button) one of the hidden fields shows/is now visible. After the form is complete and the data is exported as xml or fdf, I want to be able to import that into my master form and have the select field that was filled out be visible and have the fields properly populated with the users data.



Thank you in advance.

Chris
1 Reply

Avatar

Former Community Member
Chris,

You can wrap each of your sections in a subform and set the presence of your subform to "Invisible". Then you can show this subform when a certain event occurs, such as the 'click' event for a button. In the script you just have to do the following to make the section visible:



subform.presence = "visible";