What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Fields are not showing in pdf submission

    Asked by CenterforSalesExcellence on October 15, 2014 at 08:54 AM

    Hi,

    I noticed that the fields are not showing in the pdf if those fields are not filled. What I was trying to do was to export the submission form to pdf so that it is available for those would like to see what they have submitted. But there are fields that are not included in the pdf if the user does not fill out those fields. I noticed that there are settings for you to choose which fields that you want to view in the submission section but those settings do not apply when you export the submission to pdf. I would like to have options to be able to include those empty fields when exporting to pdf. Any helps or suggestions are welcome. 

    PDF submission settings fill section
  • Profile Image

    Answered by raul on October 15, 2014 at 09:58 AM

    Hello,

    Please check that the "Auto hide empty fields" option is unchecked before you export your submissions into pdf.

    Please let us know if you have further questions.

    Thanks.

  • Profile Image

    Answered by CenterforSalesExcellence on October 15, 2014 at 01:09 PM

    Thank you for your feedback. If we have this setting unchecked, would this setting apply if developers are using the API to get the submissions?

  • Profile Image

    Answered by raul on October 15, 2014 at 01:40 PM

    On the API you'll get all fields regarding if this option is checked or not.
    This option applies only if you want to retrieve your submissions using the submission button on the main screen.

    Please take a look at this guide: http://api.jotform.com/docs/#form-id-submissions

    The API will return a JSON object (similar to the example below) that your developers can use to check all fields

    "48": {
       "text": "Address",
       "type": "control_address",
       "answer": {
           "addr_line1": "test",
           "addr_line2": "",
           "city": "",
           "state": "",
           "postal": "",
           "country": ""
       },
    "prettyFormat": "Street Address: test"
    },

    In the example above addr_line2, city, state, postal and country are empty in the submission.

    Please let us know if you need further assistance.

    Thanks