PDFForms template lets you populate PDF forms with data from your database. You can save completed forms, display them in the browser, send them by email, or automate the process from your application.
You can get this template for $50.
In this live demo, you can use the sample PDF forms or upload your own form. If you need to fill your form with sample data, use SQL query select * from test.
Step 1. Upload a PDF form.
Step 2. Specify the SQL query that will populate the form and map the form fields to database fields.
Step 3. Populate and display the form, or use the API to automate the process in your projects.
Version 1 - April 2020
You can use any of the forms already uploaded to this live demo or upload your own form and try it.
Enter live demoAfter adding the 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 files are saved to the templates_c folder. Make sure this folder is writable by the web server user.
- PDFForms template uses the PDFtk software package. On a Linux web server, you need to have this package installed. It may already be installed, or you can contact your web hosting company. You also need to go to the Settings table and specify the path to the PDFtk executable. On Windows web hosting, make sure the web server user has permission to run EXE files. PDFForms template already comes with the Windows version of the PDFtk executable, so you only need to take care of the permissions.
- PHP only: make sure that the 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 are stored.
Adobe Acrobat is one of the most popular options for creating PDF forms, but there are alternatives.