New Forum | Previous | Next | (P-PDF) Developers
Topic: pdf form to db and back
Conf: (P-PDF) Developers, Msg: 37283
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:
< / 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:
(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:
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.