Copy link to clipboard
Copied
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.
You can find the code you need in this link:
https://answers.acrobatusers.com/Reset-one-page-of-multi-page-form-q51725.aspx
Copy link to clipboard
Copied
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.
You can find the code you need in this link:
https://answers.acrobatusers.com/Reset-one-page-of-multi-page-form-q51725.aspx
Copy link to clipboard
Copied
Do you want button on each page that will reset that page or you want button on first page that can reset any page?
Copy link to clipboard
Copied
Hi Asim123,
Button on each page that will reset that page.....;-)
Copy link to clipboard
Copied
You can find the code you need in this link:
https://answers.acrobatusers.com/Reset-one-page-of-multi-page-form-q51725.aspx
Copy link to clipboard
Copied
Hi NesaNurani,
Yes, did see that - but couldn't get it to work ;-(
Copy link to clipboard
Copied
Durr....my bad....i'd added a typo character when copying - works like a charm - thanks!