I have a neat little problem. I would like to clear certain form fields when the form is reopened without a data file. If a dataset (xfdf) is associated, then the form fields will need to display the data. That much is working with a function that calls the resetForm method. I know how to target subtrees to reset, but is there a way I can target the button set to NOT reset on open?
The reason I need to accomplish this is because the buttons were created in InDesign and when the entire form is reset, ie., this.resetForm(); the buttons are still present, but no longer visible. This is a frustrating behavior. Is there a way to avoid this problem yet still use InDesign buttons? Thank you in advance for providing your resource.