With the help of PDFForms template, you can automate the process of filling PDF forms. You can fill PDF Forms using the data coming from the database, save those forms, display on the page, send them via email etc.
You can get this template for $50.
In this live demo, you can either play with the sample PDF forms or you can upload your own form. If you need to fill your form with some sample data use SQL query select * from test.
Step 1. Upload a new PDF form
Step 2. Specify SQL Query that will populate this form. Map form fields to database fields.
Step 3. Populate and display forms or use API to do this automatically in your projects.
Version 1 - April 2020
You can use any of forms already uploaded to this live demo or upload your own form and play with it.Enter live demo
Now it is time to do something that is actually useful. After you added PDFForms template to your project you can manipulate PDF forms from your events and buttons. You can use these functions in any server-side event.
Note: Temporary file will be saved to templates_c folder, make sure it is writeable by the web server user.
- PDFForms template utilizes an excellent PDFtk software package. On Linux web server you need to have this package installed. It may be installed already or you can talk to your web hosting company in this regard. You would also need to go to the Settings table and specify the path to PDFtk executable. On Windows web hosting you need to make sure that web server user has permissions to run EXE files. PDFForms template already comes with Windows version of PDFtk executable so you only need to take care of the permissions part.
- PHP only - make sure that exec function is enabled in PHP settings.
- Write permissions need to be set on the files and templates_c folders. This is where PDF forms and temporary PDF files will be stored.
While Adobe Acrobat is one of the most popular options to create PDF forms there are free and alternatives.