Dynamically creating a PDF Form

26 views
Skip to first unread message

Matt Duvall

unread,
Oct 6, 2017, 1:35:09 PM10/6/17
to PDFHummus interest group
Greetings,

I was wondering if the greater community could be of assistance.  I have a project requirement that has to dynamically generate a form in a PDF.  For example, customer 'Bob' is from Texas he gets form fields A, B, and D which are defined in a Mongo database.  Customer 'Jill' is from Virginia and they get a PDF form with fields B, C and D.  Customer Bob and Jill completes the PDF form, email back and then I need to parse the form data from the PDF and store back in the Mongo database.  (Trust me, I've asked why a PDF, but my customer says that is my requirement).  There is a great example of parsing the PDF form, however after reading through the documentation I could not find anything on creating the form text fields.  I like the architecture of hummus and especially the 'extensible' part of the library.  I would love to contribute to the code base to add the ability to create forms dynamically, but not being familiar with the underlying PDF specification, I'm not sure where to start.  If anyone has any suggestions, it would be greatly appreciated, thanks for your time.

Matt

Reply all
Reply to author
Forward
0 new messages