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

    How to hide empty fields on email notifications

    Asked by john896 on June 08, 2015 at 03:41 PM

    As an example, we have an online Request for Quotation for Customs Brokerage services.

    The initial form has fields to input details about one item or commodity - however, there is a button to select additional items - if this is checked, additional input fields are displayed.

    The majority of submissions contain details for only one commodity code - however, the notifications include all available fields, whether completed or not. (see example below)

    Is there a way to suppress unused fields in emailed notifications? (I understand this would not be practical for Excel  reports, for example)


    John Barker








    Name and address

    This is a test

    Email Address


    Telephone (optional)


    Approximate Shipping Date (optional)


    Import or Export


    Single or Recurring (optional)


    If Recurring, approximately how many consignments per month are anticipated?


    Mode of Transportation


    Terms of Delivery


    Web Link to Product Detail (optional)


    Commodity Description (Item 1)


    Country of Origin/Manufacture/Growth


    Value (Item 1)




    Harmonized System Number (If known)


    Additional Items?


    Commodity Description (Item 2)


    Country of Origin/Manufacture/Growth


    Consignment Value (Item 2)




    Harmonized System Number (Item 2)


    Additional Items?


    Commodity description (Item 3)


    Country of Origin/Manufacture/Growth


    Consignment Value (Item 3)




    Harmonized System Number (3)


    Additional Items?


    Commodity Description (Item 4)


    Country of Origin/Manufacture/Growth


    Consignment Value (Item 4)




    Harmonized System Number (4)


    Additional items?


    Commodity Description (Item 5)


    Country of Origin/Manufacture/Growth


    Consignment Value (Item 5)




    Harmonized System Number (5)




    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike_G on June 08, 2015 at 04:53 PM

    You can do this by: (Please see image below)

    As for the result: 

    However, for Excel files, all fields will still show as column headers even if there are no data below it. 

    I hope this helps. Let us know if you have any other questions and we will be glad to help you anytime. Thank you. 

  • Profile Image

    Answered by john896 on June 08, 2015 at 07:17 PM

    Brilliant - that's exactly what I was looking for!  Many thanks.