I have various clients each sending me many pdf templates of application forms. My clients want me to export user information from my database and bind it to the templates.
So for example, I have a pdf called "Fitness Form" and in it are empty fields (text, checkboxes) such as first name, last name, height, weight etc... I need to take all the customer information from my db.t_user table (t_user.first_name, t_user.last_name, t_user.height etc...) and bind it to this pdf template.
Additionally, I'll have a second pdf called "Kickboxing Tournament Application" and in it might be similar fields like first name, last name, height, weight, but it might also have new fields such as wins, losses, technical knockouts etc...
I want a process that allows non-tech savvy people to be able to map columns in my t_user table to these pdf templates. Then they can press a "generate pdf" to fill out all the fields in the pdf template.
At the moment, I'm considering building something with the fpdf library so nontechsavvy people can use Adobe Acrobat to draw bind-able fields in the pdf template. Then I'll create a web application that let's them map fpdf field names to my database column names.
Can anyone recommend a better approach?