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

Form with a few different people completing

teapartyromp
Registered: Jan 19 2010
Posts: 2

Thanks in advance.
The form that I have created, some sections are completed by one person. Then that person saves it and forwards on to another person. I do not want the second person to change what the first person wrote or allow to enter anything in those fields. How can I do this?

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You'll need to setup the form with scripts that manage the routing process. For example, you could have a buttons for sending off the form in an email, named Route1, Route2, etc. Each button would run a script for setting all the fields in that section to ReadOnly and emailing the form.
Something like this:
Section1.Name.access = "readOnly";Section1.Address.access = "readOnly";...

event.target.mailDoc("<span class="spamspan"><span class="u">nextPerson</span> [at] <span class="d">thecompany [dot] com</span></span>");

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