Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Set fields to default value when form loads

Explorer ,
Aug 30, 2020 Aug 30, 2020

Everyone,

  How can I do a reset form or set the forms to default values whenever it is loaded?  Or if I could call the reset form when it loads, that would work also.  Been doing google and I cannot find the right landing page.

TOPICS
Create PDFs , Edit and convert PDFs , General troubleshooting , How to , PDF forms , Standards and accessibility
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 30, 2020 Aug 30, 2020
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 30, 2020 Aug 30, 2020
LATEST

I believe this is a bad idea, but if you really want to do it open the file in Acrobat Pro, then go to Tools - JavaScript - Document JavaScripts and create a new item (call it "scripts", or something like that). Delete the default function code that is generated and replace it with the following:

 

this.resetForm();

 

Again, I would avoid doing it, as it could seriously annoy the users of your form...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines