Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Show/Hide a Section

Avatar

Not applicable
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

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