Dynamically append number to PDF or make submit button change its URL based on that number.
Posted
by jamone
on Stack Overflow
See other posts from Stack Overflow
or by jamone
Published on 2010-05-04T13:06:13Z
Indexed on
2010/05/04
13:08 UTC
Read the original article
Hit count: 277
I'm serving up PDFs from a SQL db and presenting them in the browser. I'm trying to figure out a way to embed a number in the PDF dynamically that is the recordID for that PDFs SQL record so that when the user hits the submit button and the form submits its XML data to my submission page I can tell which PDF this is. If there is some way of changing the submission URL on the fly then I could do a query string to pass my self the recordID. I'm not generating the PDF in code, its being created by hand and then uploaded to my site.
© Stack Overflow or respective owner