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

user generated subforms not saving

Not applicable
I have a form with a button that creates a continuation page and then on each continuation page a button that uses the addInstance() method to create more pages. When the user saves the form, however, the newly created pages do not save with the form if the continuation page presence is set to hidden. But works fine if it is set to visible.



I understand that since the first continuation page which is hard-coded into the form is set to hidden when the document opens, any subsequent copies of that subform are also hidden unless told otherwise.



Is there a way to work around this problem? Maybe to save the presence of the page when the user Saves. Any help would be greatly appreciated.



Thanks,



IH
1 Reply
Not applicable
Of course I feel like an idiot having not used an invisible check box which the value of determines the presence of the page. DUH!