Skip to content

Control component visibility in generated PDFs

Team Forms generates a PDF when a response is submitted. Each component has a PDF Visibility setting that is independent from its visibility in the browser form.

  1. Open the component settings in the form builder.
  2. Select the Display tab.
  3. Under PDF Visibility, select Hidden.
  4. Save the component and verify the result in the builder’s PDF tab.

This is useful for browser-only instructions, buttons, and interactive previews.

Show a browser-hidden component in the PDF

Section titled “Show a browser-hidden component in the PDF”

The component’s normal Hidden setting controls the browser form separately. To create PDF-only content:

  1. Enable Hidden for the browser form.
  2. Set PDF Visibility to Visible.
  3. Check both the Preview and PDF tabs before publishing.

Select Hide if empty when an optional component should appear only when it contains a value. For containers and visual sections, Team Forms also checks their child components. This avoids empty labels and unnecessary whitespace in the PDF.

The exact schema property is pdfVisibility:

{
"pdfVisibility": "visible"
}

Supported values are:

ValueBehaviour
visibleAllow the component to appear in the PDF; normal conditional logic still applies.
hiddenNever include the component in the PDF.
hideIfEmptyInclude the component only when it or its children contain a value.

The static hidden property controls the browser form separately. Conditional rules such as conditional and customConditional are also evaluated during PDF rendering. See the form schema PDF visibility reference for technical examples.