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

SOLVED

Removing subforms

Avatar

Level 1

I have produced a form with the first page showing tick boxes for the different sections of the form.  The user deselects any sections that they do not want by deselecting the tick box.  This removes the associated subforms and works perfectly.

After completing the form the data is submitted to me via email (XML format) and I import the data back into the PDF form.  On import, even though the tick boxes on the first page are deselected it still shows all of the subforms.  The only way I can get rid of the subforms that are not required is to select and deselct each tick box again.  Is there a way around this so that the tick boxes continue to work when the XML data is imported back in?

Many thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can check the File/Form Properties/Defaults and ensure that the save scripting state changes is checked. If it still does not work then you will have to write an initilization routine to set the state of the form when it loads.

Paul

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You can check the File/Form Properties/Defaults and ensure that the save scripting state changes is checked. If it still does not work then you will have to write an initilization routine to set the state of the form when it loads.

Paul

Avatar

Level 1

Thanks Paul!

I realised I didn't have the script under 'Initialize'.  It works now - thank you.