I would like to capture filled PDF form data from public facing website and save it in the database on the server. Is it possible?Please let me know.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is possible. You need a submit button on the form. In the properties of the submit button, select FDF as data type. Each field from the PDF document will have a name. Textbox1, Textbox2, etc. and you will receive name-value pairs. There are libraries available that will assist with processing the returned data.
I received the completed PDF document in my Controller (ASP.NET MVC application) as follows:
In this case filename is a temporary filename located in a temp area (rootPath) where I have write access. Another solution will be to write the file to a MemoryStream and then use that to send in email.