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

How do I disable Save when the user has filled in a pdf form?

Community Beginner ,
Feb 15, 2016 Feb 15, 2016

I have a pdf with forms that allows the user to fill in details in different areas.

I don't what the user to be able to save the filled in forms but only be able to print it. The unfilled pdf-forms is ok to save, but not the filled in ones since that document ain't valid in our system before been checked by other personell.

Is it possible to allow forms to be filled in and printed, but not saved?

//regards, Jennie

TOPICS
Acrobat SDK and JavaScript
389
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 ,
Feb 15, 2016 Feb 15, 2016

You can't prevent the file from being saved, but you can add a command that will reset it just before it's saved, so it saves as a blank file.

However, you should think about it carefully. What if someone filled in a file halfway and then wants to save it and continue later, or to keep a record of it for their archives? Your script will prevent them from doing it and will probably piss them off in the process. Might not be such a good idea...

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 Beginner ,
Feb 16, 2016 Feb 16, 2016

Thanks for the hint about resetting the file when saving, that will do the trick!

I have a customer that absolutely wants the form not to be saved when it's filled since the document is not legal before printed and signed physical.
Do you have any tip about what I can search for in order to find the command/how to make it reset?

Many thanks for your help!

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 Beginner ,
Feb 16, 2016 Feb 16, 2016
LATEST

Hi, thanks again! I found the javascript code here in the forum, now that I knew what to look for.

I have tried it and it works!

Many thanks for the help!

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