Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How can I pass a variable to a form to pre-fill form fields on load?

Avatar

Avatar
Level 1
fubar2009
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
fubar2009
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
fubar2009
Level 1

10-08-2009

Hi all,

I am developing a Windows Form Applicaiton in C# to register new users and walk them through a signup process.The application does a lot of other things as well. This part of it collects their personal information and saves the data to the database. Part of the process requires the user to complete a pdf form (W-4 tax form). I would like to pre-populate as many form fields as possible for them when the pdf launches, and not have them enter anything to get their data to prefill the form fields.

My issue is I can't figure out how to get the pdf to know who is loading the form so I can do the SQL select and populate the form fields. I need to do a select * from Table where UniqueID="xxxxx" but how can I get the form to know on load what "xxxxx" is so it grabs the users personal info from the database?

I have searched high and low and found nothing on how to do this without doing some hoakey hack outside of the application or pdf doc.

I am creating/editing the form in LiveCycle Designer 8 and am loading the form for use by the user in acrobat 9.

Any help,ideas, or nudging in the right direction would be much appreciated!