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

Saving completed form as read-only file

angelcinder
Registered: Oct 26 2009
Posts: 24
Answered

Hi all,
I have created a fillable form (one page). I have enabled the extended rights so that users can save the filled form. However, I would like to have the saved form to be read-only (or non-editable) pdf file.
Please provide any suggestions regarding this issue, it would be greatly appreciated.
Thanks.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
To do this you'll need to use the "PreSave" event to set all the form fields to ReadOnly. This requires scripting. Do you have the XML Forms Object Reference? You'll find the funcitons and properties you need for this task in there.

You can download this and other useful files here:
http://partners.adobe.com/public/developer/xml/topic.php

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

angelcinder
Registered: Oct 26 2009
Posts: 24
Awesome!
Thank you so much.