These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Reader Save Rights

kbillings
Registered: Mar 11 2010
Posts: 9

I have created internal forms that I have extended rights to another department in our company to "fill-in" data in reader and save the pdf. How do I get that pdf that they have created to NOT have editable fields once they save it? We need to lock down the data they filled out? Thanks for your help.

jimhealy
Team
Registered: Jan 2 2006
Posts: 146
You can use the "Will Save" document action to set all the fields to read only or to call this.flattenPages();

Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools

Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com

jimhealy
Team
Registered: Jan 2 2006
Posts: 146
I don't know if flattenPages will even work in Reader with Usage Rights offhand. But even if it does, you should call it for each page (there is some version that calling it like I showed you, which is the example in the docs, it only flattens the first page). So, maybe I would stick with setting all fields to read only:

for(var x=0;x<numFields;x++) {try {getField(getNthFieldName(x)).readonly = true;} catch(ex) {}}

Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools

Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com

kbillings
Registered: Mar 11 2010
Posts: 9
Are these document actions available in Acrobat Standard?
jimhealy
Team
Registered: Jan 2 2006
Posts: 146
Yes, if you are using 9.

Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools

Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com

kbillings
Registered: Mar 11 2010
Posts: 9
I am.. I have look everywhere i don't see an action call "Will Save". Do I have to create it?
jimhealy
Team
Registered: Jan 2 2006
Posts: 146
I am not using 9 right now, but in 8 it is "Advanced->Document Processing->Set Document Actions"Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools

Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com

kbillings
Registered: Mar 11 2010
Posts: 9
I found it under a different spot.. I need to do some reading on how to add JavaScripts. Thanks for your input thus far. As you can tell I am a novice.
kbillings
Registered: Mar 11 2010
Posts: 9
Jim, you are a ton of help. I got it to work the way I needed it too. Thank you very much.