Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Radio button that hides/unhides page

Avatar

Former Community Member

I was wondering what the

correct way would be to have the following:

A yes or no radio button.

Form has 3 pages but opens with 2 pages while the 3rd page is hidden.If use clicks yes it opens the 3rd page and if not it closes the 3rd page.

All help would be great,thanks.

1 Reply

Avatar

Level 4

Create 3 Pages, change the presence of third Page from "visible" to  "hidden". You can make it hidden from object palette. Create a radio button on first Page and write the below script on change event of radio button

 

xfa.form.form1.Page3.presence = "visible";

Now if you click on preview PDF only 2 page will display but if you want to see third page click on radio button.