Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: pdf form to db and back
Conf: (P-PDF) Developers, Msg: 37283
From: trev
Date: 3/24/2002 04:51 AM

your going to have to know the very basics of html, the high basics of ASP and the very-high basics of JS or possible PHP. In the Pdf form you can choose to export the form data as either FDF or HTML format, HTML format is the standard urlEncoded string, but for this string to work you have to place this at the bottom of the page:
LANgUAgE= "JavaScript" document.location.href="http://www.company.com/page.asp " < / S (I was told to add this because of the new netscape problem... as of march 23, 2002... i didn't have time to test without, otherwise....) and this at the top between the head tags: BaSE HReF = "http://www.company.com/page.asp" In the pdf when you select HTML form for exporting the form data, just put in:
http://www.company.com/page.asp
(i didn't have time to test, otherwise....)


Now with all that in mind, the string will go the desired html page at which case you can retrieve the variables as you would any urlEncoded string that is appropiate for the application you are making, and you can use response write to see if the string was sent correctly.

So now you have an asp page that can use email components to send the variables, even to a database. to retrieve the info from the database into the pdf you would use one of the scripts here:
http://www.laundrymat.tv/pdf/

ofcourse you would have to create an asp page that merges the database info with the pdf, possibly by a unique field, using the GET method.

I've successfully used session variables from one asp pge to another while going thru a pdf form.

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.