Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

user generated subforms not saving

Avatar

Former Community Member
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

Avatar

Former Community Member
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!