Enabling Tools for Adobe Reader

Avatar

Avatar

stephenf8734174

Avatar

stephenf8734174

stephenf8734174

01-11-2017

I have finished a form that includes a large number of 'preSave' scripts. Once the form is 'signed' instructional information becomes hidden, and only completed fields remain. My problem is I need to save the form to enable rights for users with Adobe Reader. When I 'save as' all the information disappears. Is there any way around this? Pretty desperate for any help - thanks!!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

mouslander

Avatar

mouslander

mouslander

09-11-2017

So I see the problem and I agree that the applying reader extension and saving then marks the file. Another option may be to do the action on a button. I would have the user fill in a field or fields assuming they are required. On pre-save you could write a script something like:

if(textfield1.rawValue != to null){

Button1.execEvent("click") // this would be a hidden button that would then perform your lock on the pre-save

}

its a bit more complex but could get you beyond your presave with reader extension issue.

Answers (7)

Answers (7)

Avatar

Avatar

stephenf8734174

Avatar

stephenf8734174

stephenf8734174

09-11-2017

Thanks for that - works for what I need. Has taken a while to make the changes but I finally have something I can use. Cheers!!!

Avatar

Avatar

stephenf8734174

Avatar

stephenf8734174

stephenf8734174

08-11-2017

A person completes the form and saves a copy (this saved copy has certain fields still active for another user to complete). The form includes instructional information - I've used this.presence = "hidden" in preSave so this information disappears in the saved version.

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

08-11-2017

To reader-enable a form means to add a special certificate that carries the additional rights for the reader and then saving it.

Avatar

Avatar

mouslander

Avatar

mouslander

mouslander

08-11-2017

that is sort of interesting. I would have thought that a pre-save function would be protected from a reader extension. What is the action  you are taking on the presave? Maybe there is another way to accomplish it.

Avatar

Avatar

stephenf8734174

Avatar

stephenf8734174

stephenf8734174

07-11-2017

That's how I tried to reader enable the form - that's when all actions in the preSave events executed.

Avatar

Avatar

mouslander

Avatar

mouslander

mouslander

03-11-2017

where did you reader enable the form. I save the form then open it in Adobe Acrobat and select File-> Save As Other -> Reader Extend PDF

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

02-11-2017

You may have to add a check into your preSave events, if the form has been already been Reader-enabled or not: so they will only be executed if so.

if (event.target.appRightsValidate({}, 1, false) === true ) {

    // add your preSave script here …

}