How can i remove the description field form the generated PDF

Hi all,

We use the description field to display additional details beneath many of the questions in our forms. While this information is helpful when filling out the form, we would prefer not to include it in the generated PDF.

Is there a way to hide the description text specifically in the PDF output while still keeping it visible in the form itself? Heres a screenshot of what I mean.

Thanks in advance for any advice.

Best reply by Anthony Phan

Hi Amelia,

You can use the custom CSS feature to hide the description in the generated PDF.

Here’s some CSS that has worked for me. Notice how we use the .form-pdf class selector to target only the PDF styles. This ensures the styling applies only to the PDF and not to the web form.

.form-pdf .form-text.text-muted {
    display: none;
}
View original
1 reply