How to create fillable PDF forms
Data submitted to Web forms can be used to fill PDF forms.
...
...
To get started, you will need:
A fillable PDF form. You can make this in software like Adobe Acrobat Pro (available through the IST Webstore) or LibreOffice (free download).
A WCMS Web form configured to collect the information you need. There is no special configuration of the Web form for it to work with Fill PDF.
Configuring your fillable PDF
My Workbench > Create/Manage Content tab > Web form > Manage PDFs
The FillPDF page will open. Upload your PDF file using the Browse option.
The Edit PDF form page will appear. Configure the PDF:
Optionally, provide an Administrative title.
Adjust the Title.
This title will be displayed in download links.
Insert the Default Node ID (number only).
Every Web form has a Node ID which is the number that Drupal
uses to identify that form. You can find the Node ID for each web form
on the Manage web forms page. This tells the PDF which form to grab data
from.
Click Update.
Now you must tell the system what to put in each PDF form field.
Under Sample PDF, click “See which fields are which in this PDF”.
You will download a PDF in which each field has been filled with
PDF-field key of that field, helping you to tell which field is which.At the bottom of the Edit PDF form page is a list of all the fields in the PDF, each one identified with a PDF-field key.
For each field that you want to fill, you need to assign a value. To start, click Edit under Operations for the first PDF-field key you want to configure.
Click in the Value box, and then enter the corresponding token for this field.
Token for webform submissions: [submission:values:insert-form-key]
Token for form component under a fieldset: [submission:values:fieldset:form-key]
Note: form keys can be located in the Form components sub-tab of your Web form
Click Update.
Repeat steps 5a-b for each PDF field that you want to fill.
Testing your Fillable PDF
After configuring your Fillable PDF it is recommended to test your Web form to see that each field is filling correctly. To do this:
Make a submission to your web form by filling out each field.
Return to the Edit PDF form page.
Under Fill PDF from default node, click Download this PDF filled with data from the default node (#).
This will show you the form results from the most recent submission. Confirm that all fields are filling as expected.
Providing users the option to download the Fillable PDF
Now that the Fillable PDF has been configured and tested, the next step is to provide the option for users who complete your web form to download their filled PDF. There are two options:
...