Expand my Community achievements bar.

Show/Hide a Section


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.

1 Reply


Former Community Member

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";