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

Lockable Password protected button Script

New Here ,
Sep 20, 2018 Sep 20, 2018

Copy link to clipboard

Copied

I need help with this. I have searched the web looking for this and haven't found a complete script and I don't know how to patch one together from multiple scripts. We are currently using a fillable PDF template form for all our inspections and have figured out how to use it from our tablets. I need to add a button to this form with a java script to lock the entire PDF so it can not be edited. Its okay if it is printed or copied, we just want to provide some level of protection from a customer accidentally altering a inspection report. I would like to make it so the button can be activated and deactivated with a password prompt for both occasions so techs don't have to constantly unlock after accidentally clicking the button. I don't know much about java other than how to copy it to a button in a PDF and select it as a mouse up to exec a java script. I would like to set the password as 123456 for the time being so I can easily find it in the script and replace with the password we would prefer to use. Not sure if this is doable but we love to have some feed back. I am trying to avoid doing the flatten option since people can still easily alter the report. I know that it could still be printed, scanned, and then altered. Like I said we want to provide some level to show that if a file is altered it was intentional and not on the original.

TOPICS
Acrobat SDK and JavaScript

Views

87

Likes

Translate

Translate

Report

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
no replies

Have something to add?

Join the conversation