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

Prepopulating Forms

BillA
Registered: Feb 11 2008
Posts: 18

I've most of the last 3 days attempting to design a form in LC Designer, which would allow me to prepopulate data from an access database.

Can someone tell me if there is an explanation as to how to accomplish this?

What we would like to do is create a dynamic form that will capture input and return it and the xml data to me via email, and this task seems pretty straight forward. However, we are tripping on prepopulating fields.

In our test form we've had limited success prepopulating a single form, but can't figure out how to generate the other forms from the remaining data records.

I'm using Acrobat Professional 8's LC Designer to build this form.

Any suggestions/advice would be extremely appreciated.

Thanks,
Bill

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Prepopulating a form can be accomplished in many different ways. How you do it depends on how the form will be used.

It sounds like you are mailing out the same form to lots of different people and would like to prepopulate some fields in your office before the form is sent out? Is this correct?

In this case you probably don't want to mess up the field binding. And since the pre-popultion is done on your desktop I would suggest an automation script that uses the ADBC object to Acquire and fill out data on the form. This method uses Acrobat JavaScript and works outside of the LiveCycle JavaScript Model. Look up info on the Acrobat JavaScript Model here.

http://www.adobe.com/devnet/acrobat/javascript.php

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