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

Can Acrobat X Pro do this???

srider
Registered: Jul 28 2011
Posts: 3
Answered

I'm actually trying to decide if I want to upgrade to Acrobat X Pro, and was wondering if it can do what I want. (I have 8 Standard right now)
 
I have a large number of related forms, and it's a situation (kind of like doing taxes) where if you check "yes" on a question on the main form, then you should also fill out Form B. Another question might require Form F.
 
1) I want to be able to write some script where if the person filling out the form checks a box, it opens the related form in the background.
 
2) I want the subsidiary forms to pre-fill the person's info (name, address) based on what's filled in on the main form.
 
3) Can I set it up in a way that it can be used by a person using Adobe Reader X (not Acrobat Pro).
 
I would appreciate any information, including hints as to what part of the program I would use to implement those functions. Thank you.

My Product Information:
Acrobat Pro 10.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Accepted Answer
It's complicated and requires lots of sophisticated scripting, but yes, you can create this kind of forms application in Acrobat X. In fact, there is no difference between doing it in Acrobat X and Acrobat 8. Unfortunately you have Acrobat Standard right now, to implement these features you need Pro.

Basically, this is an exercise in JavaScript programming for Acrobat. And it should work in Reader, at least the form opening and filling bit. But if you want the user to be able to save the forms with Reader you'll need to enable them with Forms Rights, which restricts the forms to 500 uses.

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

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1875
thomp wrote:
But if you want the user to be able to save the forms with Reader you'll need to enable them with Forms Rights, which restricts the forms to 500 uses.
...if you distribute the form to more than 500 recipients.

And to clarify the 500 number, the limit is on how many returned forms (including hard copies) you can use data from IF you distribute the form to more than 500 recipients. If the forms will not get sent back to you, this limitation can't apply.

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yeah:( the licensing on the rights is more complicated than the scripting.

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

srider
Registered: Jul 28 2011
Posts: 3
Thanks Thom for the reply, and George for the clarification. I've done some web programming, so hopefully what I already know of JavaScript will be a good start.

Does anyone know of any examples of such scripts (click to open another PDF) that I could look at?
srider
Registered: Jul 28 2011
Posts: 3
Fortunately it's just filling out forms to print out, so I don't think the 500 returned forms limit will apply.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Get the Acrobat JavaScript reference from http://www.adobe.com/devnet/acrobat and look up the "app.openDoc" function.

If you do a search for "Open PDF with script" you'll find plenty

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