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

Saving pdf form after all required fields are filled

New Here ,
Jun 22, 2017 Jun 22, 2017

I'm trying to make a pdf form that I want to send to some people, have them fill in the form and send it back. I want to make sure that ALL mandatory fields are filled in before they save the form.

Have been searching the internet, but cannot find a satisfying answer.

It would be unbelievable if this is not possible (currently downloaded a trial version, but will surely not buy if this is not solved).

Thanks,

Herman

TOPICS
PDF forms
9.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
1 ACCEPTED SOLUTION
Community Expert ,
Jun 22, 2017 Jun 22, 2017

The required fields are only validated when the file is submitted. If that's what you're doing anyway, then what does it matter if they are filled-in when someone saves the file? They won't be able to submit it unless they fill them in...

If you really want to do it, I've developed a tool just for this purpose: Custom-made Adobe Scripts: Acrobat -- Validate Required Fields Before Printing or Saving

It's not possible to prevent someone from saving the file entirely, but using this tool you can show an error message and force the saved file to be blank.

View solution in original post

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
LEGEND ,
Jun 22, 2017 Jun 22, 2017

You will need to write a custom JavaScript action. You should decide how you want this work. One could have a field that show the status of completing the form or hide a submit button until all the required field have been completed. You will also have to decide how you are going detect incomplete form fields.

There have been many posts about this in this forum.

I would suggest that you test if a field has been completed or not by comparing a field's value to that field's defaultValue. If the values are equal the field is not complete and if the values are different then the field has been completed.

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 ,
Jun 22, 2017 Jun 22, 2017

The required fields are only validated when the file is submitted. If that's what you're doing anyway, then what does it matter if they are filled-in when someone saves the file? They won't be able to submit it unless they fill them in...

If you really want to do it, I've developed a tool just for this purpose: Custom-made Adobe Scripts: Acrobat -- Validate Required Fields Before Printing or Saving

It's not possible to prevent someone from saving the file entirely, but using this tool you can show an error message and force the saved file to be blank.

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
New Here ,
Apr 14, 2022 Apr 14, 2022
LATEST

He didnt say the field was blank, if there is a mistake and needs to be edited, thats the question,( I  wonder how he would know it was a mistake?)

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