If I have a form where the user has added more subforms. I want the form to be reset so that the initial number of sub forms that appear when the document is first open go back to that number. In other words when I click the reset button not only do I want all of the data cleared from the fields but the form should be reset to look the blank form did when it was first open.
I thought the 'xfa.form.remerge();' line of code would do this but nothing happens.