JavaScript to reset fields on specific page within document
Hi,
Am wondering if there is a script that would allow for a single page of field entries a user has made, to be cleared in entirety, likely using the function;
this.resetForm()
Ideally looking to achieve this with script that doesn't require naming each field individually (lots of fields!) like the example shown below, but perhaps just allows the reset of the page itself?.
this.resetForm(["Field1", "Field2", "Field5"]);
The standard reset form function in DC Pro is somewhat annoying in as much as if you then add more fields later on after setting which specific fields you have ticked earlier on in making the form, it seems to add those new fields as well, which is frustrating as quite often you might want to adapt and create more fields etc. later on.
