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

input parametr when opening pdf form from website

Matesack
Registered: Aug 30 2011
Posts: 4
Answered

Hello,
 
i need to know, if i can open a new pdf form with value of one textfield in pdf. My case is, that user fill a online php form, informations that he will fill out are stored in Mysql database and form receive a GUID number. Value of this number will initialize a web service (script in form on initialize).
 
Should I use something like this?
- www.examplewebsite.com\myForm.pdf#NameOfField=12345
 
Thanks for response.

My Product Information:
LiveCycle Designer, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Accepted Answer
I know that this is possible with AcroForms, but not so easily. It requires a custom-made script that looks for this parameter when the document is loaded and then uses it to do something.
I have developed this technique to allow links to a specific bookmark in the PDF, but I'm sure that filling in form data is also possible.
I can't tell you for sure, though, if it's possible with a LC form as well.

One option to consider, though, is using the built-in FDF parameter. If your server can generate the FDF on-the-fly, then you can add a link to it in the URL of your PDF file and it will be loaded with the file, populating the form fields.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Matesack
Registered: Aug 30 2011
Posts: 4
Thanks for the quick response. I will try this and if find solution I post it here. Thanks.
Matesack
Registered: Aug 30 2011
Posts: 4
Hello,
so I tried to find out the solution for my problem, but I can't found anything usefull. Does anyone know something abou this? PLease help, thanks.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I have already created this for AcroForms. I will upload it to my website later on... I can't guarantee it will work with LC forms, but it might help you get close.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Matesack
Registered: Aug 30 2011
Posts: 4
Can you show me this script that you've made? I try to find some solution with XFDF format, but I don't understand what i must do to open the pdf with start value of one field and how must the xfdf loks like:-(

thanks


try67
Expert
Registered: Oct 30 2008
Posts: 2398
The script can be purchased through this page:
http://try67.blogspot.com/2011/09/acrobat-populate-form-data-from-url.php
However, if you'll contact me via email I'll sort you out with a free version.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com