Expand my Community achievements bar.

Passing variables into pdf from url

Avatar

Level 1

Hi there,

I need a way to somehow prepopulate a fill-able pdf form when the user downloads the form. I'm looking to do this 2 ways:

1. By passing variables from the url into the pdf

2. By connecting to the website database to gather the user's information

Is there a way to do this?

Thanks!

2 Replies

Avatar

Former Community Member

You can't pass values from the URL to populate the fields.

You can create a server-side, FDF, XDP (XFA), XFDF and output to buffer, which will populate PDF in browser.

What type of web server are you running? MS .NET or PHP?

If you are running MS .NET, then check out:

www.fdftoolkit.net (C#/VB.net)

or iTextSharp (C#/VB.net)

If you are running PHP, then check out:

iText (Java)

Avatar

Level 10

Hi,

Have a look at this blog, http://forms.stefcameron.com/2006/10/20/using-url-requests-in-pdf-forms/.

It is old ... 2006 ... so NKOWA2 my be refering to some changes made since but it seems to be still working for me.

Regards

Bruce