Skip to main content

How can I hide a component form the PDF

Lets explore how you can hide a component or section form the automatically generated PDF

Updated over 3 weeks ago

When a form is submitted, Team Forms will automatically generate a PDF for that submission. By default this PDF will match the form, however in some circumstance you may want your PDF to look different. For example you can may want something hidden in the PDF but visible in the for (or vice versa). In this article we will explore how this can be done with a few simple clicks.

Example 1 - Hide a component in PDF

To hide a component in PDF simply follow the steps below:

  1. Navigate to the form builder screen and hover over the component and open the component settings

  2. In the display tab an tick the "Hide in PDF" option. The component will no longer be visible in the generated PDF

Example 2 - Show in PDF but hide in form

To hide a component in the form but show it in the PDF simply follow the steps below:

  1. Navigate to the form builder screen and hover over the component and open the component settings

  2. In the display tab an tick the "Hide" option and deselect the "hidden in PDF" option

  3. The component will no longer be visible in the form but be visible in the generated PDF

Example 3 - Hide a field if its empty

If a question does not have a response it may be desirable to hide it in the generated PDF by following the steps below:

  1. Navigate to the form builder screen and hover over the component and open the component settings

  2. In the display tab an tick the "Hide if empty" option under the "PDF Visibility" setting

  3. The component will no longer be visible in the PDF if the responder leaves this question blank

Did this answer your question?