How to process values โ€‹โ€‹entered in an interactive PDF form on a server?

The client asks how to create an interactive PDF form with functionality that allows you to enter values โ€‹โ€‹in the form for processing on the server.

From what I read, the best way to do this is to program the view by inserting javascript into the PDF file through Acrobat, and then drawing server-side code to process the view.

Does anyone have experience with this kind of thing? Is it best to do this using javascript in a pdf file and using this to publish form values โ€‹โ€‹in a server side form processing method?

If you do, is there a way to transfer the values โ€‹โ€‹to a PDF file so that the form can be processed successfully?

+4
source share
2 answers

We used DynamicPDF viewer from ceTE software. http://www.cete.com/

+1
source

If the requirement is to simply pull data from the fields of a PDF form, Javascript may not necessarily be necessary. Javascript can certainly be used with form fields to handle certain requirements (often automatic calculation and validation), but it can be redundant to just set up and retrieve data.

There are APIs that are quite easy to install and receive data from the fields of a PDF form. One toolkit that does this is the EasyPDF SDK, which has a PDFDocument class designed specifically for this:

http://www.pdfonline.com/easypdf/epsdk_manual/index.htm?page=reference%2Fpdfdocumentsdk%2Fpdfdocument%2Fdescription.htm 

Whether it will work for your needs will largely depend on whether the PDF has already been created or not. If it has already been created with fillable form fields, then the EasyPDF SDK can be used to read data from fields and insert data into them. But if you do not have a created PDF template yet, for this you will need Adobe, for example, Acrobat Professional.

I will refuse that I am part of the development team for the EasyPDF SDK, so I have an interest in this tool. But it is great and easy to use and designed for server-side deployments, so feel free to check it out at http://www.pdfonline.com if you feel so inclined. Hope this helps.

0
source

All Articles