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

Protect a fillable form with Reader

kam
Registered: Apr 23 2009
Posts: 3

I am sorry if this has been covered, but I can't seem to find exactly what I need.

Here is my situation:
I will be creating a fillable form in Acrobat Pro or LiveCycle.

The person I am creating this for will fill out the form. This person will be using [b]Reader[/b] and will then have to either save the form or protect it so the information cannot be changed. I will have no further involvement with the form after creation.

So, how can a person fill out a form in Reader and then lock it or protect it so the form cannot be altered??

Thanks!

radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can use a button to add a write protection.

if(xfa.host.messageBox("Protect the form?", "Enable write protection",2,2)==4){for (var i = 0; i < xfa.host.numPages; i++){ //Protect all form fields!var oFields = xfa.layout.pageContent(i, "field");var nNodesLength = oFields.length;for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++){oFields.item(nNodeCount).access = "protected";}}}

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

CementMixer
Registered: Apr 16 2009
Posts: 7
Can i use this button to add write protection in Acrobat 9.0 Standard? Should i upgrade to Pro or Pro extended?
matrix27
Registered: May 2 2009
Posts: 9
radzmar,

im just new to adobe livecyle ES, i created a form and linked all the fields in an ms access 2003 database. i wanted a button that would contain a script to save all the contents of the fields to the ms access 2003 database. pls help..
Lovejones
Registered: Jul 2 2009
Posts: 1
Hey there all - I am working in Acrobat 8 Pro. I am doing the same thing Kam is doing (The person I am creating this for will fill out the form. This person will be using Reader and will then have to either save the form or protect it so the information cannot be changed. I will have no further involvement with the form after creation.

So, how can a person fill out a form in Reader and then lock it or protect it so the form cannot be altered??


I added a button with the script you provided Radzmar, but it doesn't seem to work. HELP!
Freelancer
Registered: May 26 2009
Posts: 71
Hi kam and Lovejones,

there is no need to use the form afterwards...
just flatten it by printing it as pdf,
this is the easiest solution.

Freelancer

According to most IT HelpDesk people, the most common reason for user error (regardless of Operating System) is ID 10T.