How to send PDF data to SQL database on clicking a submit button
Posted on 2012-03-21
Hi. This is my situation.
I have 1000 customers. Each of them have their own customer ID. I want to send a pdf to everyone with 5 questions, and once they submit the form, ideally the data comes straight to my SQL database. I also want to track who's who, so I want to send the customer ID to the PDF form with the link I send to my customers.
Not sure how to do it, tried sending the ID through GET method, so its www.mysite.com/questions.pdf?id=123 then Managed to read the ID and put it into a text field in the PDF form, but it doesn't work on Chrome browser just on mozilla and IE.
So I would like to know another method to send the ID to the PDF first, and then once the customer fills the form and submits it, the ID and answers to the questions come to my database. What's the best way to do this or other solutions to achieve the same thing?