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

Need help with form

Gary S
Registered: Mar 15 2010
Posts: 2

Rather new to Acrobat 9.
I am creating a form using Livecycle. The top portion of the form, I want the user to fill out and when completed, click a button to email the completed form to a co-worker - higher up in the organization. So far so good. When the supervisor receives the form from the co-worker, I want the supervisor to be able to approve the form submitted - so far so good with that - After the supervisor approves the form, I want them to be able to send the completed form via email to a number of different email address. So far everything is working OK - EXCEPT - How can I make the supervisory material - approval and buttons accessible only to the supervisor. Any help would be greatly appreciated. Thank you in advance.

My Product Information:
Acrobat Standard 9.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
With scripting you can hide and show fields and also set fields to be ReadOnly. The form needs to be setup so that initially only certain parts are visible and/or accessible. Then as it moves through the process different parts are locked down. For example, you could have the "Submit" to supervisor button lock down those parts of the form that the user fills out and unhides the approval button.

Watch this video:
https://admin.adobe.acrobat.com/_a200985228/p87746471/

This article explains how to disable a form field in a nice looking way:
http://www.acrobatusers.com/tutorials/2007/09/js_disabling_fields

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