PDF Attachment: Fields with zero (0) value are not shown on PDF

  • Profile Image
    Asked on November 15, 2021 at 05:19 PM
    Ok after further testing, it looks like the form is filling in fine, but when I get the PDF in the email the zero's don't show up.
  • Profile Image
    Answered on November 15, 2021 at 05:37 PM


    We created this separate ticket to avoid confusion since the initial ticket you created was about the substring issue on the form. This ticket is now about the PDF bug not showing fields with zero value.

    Again, here's our test in our form showing the bug. Fields with zero value are not shown on the PDF.



    The same bug we replicated in the cloned version of your form.


    Alternatively, you can still download PDFs on email through the PDF download link when you include {pdf-link} tag in your form notification. This should display all fields including fields with zero value.

    Here's how;

    In the form builder, go to Settings > Emails > edit Notification or Autoresponder


    In the Notification/Autoresponder, click Form Fields then select PDF Link to add the pdf link tag in the email template.


    So when you receive the email notification or the submitter receives the autoresponder, the PDF can be downloaded through the provided download link.

  • Profile Image
    Answered on November 17, 2021 at 05:05 PM


    The PDF Link unfortunately downloads the incorrect PDF. The one titled New Document 1 that is for some reason auto created. I really hate this feature and have no use for this option when I've already provided a PDF form.

  • Profile Image
    Answered on November 17, 2021 at 06:33 PM

    You're right and I apologize for missing that part. The PDF Link will download the default custom PDF not the original PDF.

    Here's another workaround. This should download the original PDF. So instead of using the PDF Link tag, use this link instead:


    Make sure to replace {apiKey} with your API Key. You can get one here: https://www.jotform.com/myaccount/api

    210405577435151 is your Form ID so I guess there's no need to replace it.

    Here's an example on how it would look like on email:


    Keep in mind that this link contains your API Key so as much as possible use an API Key with Read Access permission only and do not share the link with anyone.