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

Adding fileds at run time in Adobe Reader

Sachin
Registered: Aug 29 2007
Posts: 6

I am using Acrobat Professional ver 6.0 and develop forms which have calculation scripts written in java scripts. The end user downloads these forms form web and view in Adobe Reader.To reduce the load of server I am trying to add page and fileds at runtime.
My Question :Is it possible to add the balnk pages and fields at runtime by using Java script on PDF while opening the PDF in Adobe reader(ver 6.0 & above)???

My Product Information:
Acrobat Standard 6.0.4, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes and no. To add fields and pages to a document being viewed in Reader the PDF must have special Reader Rights Enabling. Adobe added one of the Rights you'd need for this in Acrobat Pro 8.0, i.e. Form field rights. but the critical one you need, Page Template rights is only avalible through a LiveCycle server.

Assuming that you can apply the necessary Rights you then need to add the pages from an external source. If the pages are already in the doc but not visible it doesn't help you with size or download speed so they have to come from the outside. The only way to do this is with an FDF file that can be served up from a server.

The other, easier route is to upgrade to Acrobat 8.0 and build a LiveCycle form. Which has the ability to grow dynamically and doesn't require all these special rights.

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

Sachin
Registered: Aug 29 2007
Posts: 6
Thanks a lot Tom for ur qiuck reply...
I had tried it with hidden template and it is working fine in Adobe Pro 6.0 but not in Reader.
Can u please tell Exaxtly how with the help of FDF we can achive this. Also I need information about LiveCycle form...
It will help me a lot.....
Thanks again....!!
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Like I said in the response, for templates to work in Reader the PDF has to be Rights Enabled for Page Templates.

To use FDF you'll have to read the FDF Reference (Chapt 8.6.6 in the PDF Reference) and also the FDF Toolkit documents. This is not simple stuff.

To use LiveCycle you'll have to do the same thing. Read About it and give it a try.

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