Fillable PDFs
Example: Students need to complete a form, but an original signature on paper is required. WCMS Web form and Fill PDF can be used together to allow the student to complete the form in their web browser and download a PDF of the completed form, which they print, sign, and return.
This allows you to get forms on paper, but without having to worry about reading messy handwriting or retyping the data in a database.
See also: Create a download PDF link on the confirmation page
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 needed for it to work with Fill PDF.
Configuring your Fillable PDF
From the administration bar, select Workbench, and then select My Dashboard.
Under Forms, select the dropdown beside Form.
Select Manage PDFs.
Under Upload PDF template, upload your PDF file by selecting Browse.
Once you have uploaded your PDF select Create.
The Edit PDF form page will appear. Configure the PDF.
Optionally, provide an Administrative title. This is the title that will display on the form overview page.
By default, the Filename pattern field will contain the name of your PDF file. Optionally, adjust the Filename pattern.
Using the drop-down arrow under Default Webform, select the Web form to which this PDF will be linked.
Select Save.
In the PDF Form Information Panel, under Sample PDF select See which fields are which in this PDF. This will download a PDF in which each field has been filled with the key to each field.
Optionally, use Update PDF template if you want to use a new version or copy of the Fillable PDF.
Under Form info, locate the Form ID (the number between the square brackets). This can be used to create a download PDF link.
At the bottom of the Edit PDF form page is a list of all the fields in the PDF. Under PDF Key there is an identifiable PDF key that corresponds with the PDF field label.
For each field that you want to fill, you need to assign a value. Select Edit under Operations for the PDF Key you want to configure.
Note: In the Sample PDF (from step 11), you will see what PDF Keys exist in your PDF.
In the Fill pattern field, enter the corresponding token. Note: Ensure the token is in lowercase and that there are no spaces within or before/after the token before saving.
The token for a submission is [webform_submission:values:element_key]
The token for an element that is under a container is [webform_submission:values:fieldset_key:element_key].
The token for a sub-field of a submission, such as the token for the 'city' field of the Basic address element, is [webform_submission:values:element_key:sub_element_key].
Note: Element keys can be located in the Build sub-tab of your Web form, under the Key column.
Select Save.
Repeat steps 13-15 for each PDF field key 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 FillPDF form page.
Under Default Webform, select Download this PDF template populated with data from the webform [webform-name].
This will download a PDF with the fields filled out according to the last 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. A link to the Fillable PDF can be displayed on the confirmation for both authenticated and anonymous users. See how to create a download PDF link on the confirmation page.