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 callaway on June 27, 2013 at 03:33 PM

    Hello. First of all I want to say I love Jotform. I started to use it on a non-profit project and now recommend it to all my clients. Using Jotform has saved in incredible amount of time--where before I had to code all these manually using JS and PHP. Jotform is a time saver!

     

    My question is this. I'm making a groccery list and have fields such as apple, watermelon, strawberry. Would it be possible to get email notification with the field with value. I see this list becoming really long.

    eg) Strawberry == 1, watermelon == null, apple == 1

     

    My email notification wiil be

    Strawberry == 1

    Apple == 1

     

    Rather then...

    Strawberr == 1

    Watermelon == Null

    Apple == 1

     

    Thanks and keep up the good work

    email email notification empty fields hide empty fields empty fields email
  • Profile Image

    Answered by pinoytech on June 27, 2013 at 04:42 PM

    Hi,

    I've clone your form and made some workaround on it. Can you please take a look at this if this is what you want to received on your email notification?

    Thank you!

  • Profile Image

    Answered by callaway on June 27, 2013 at 04:44 PM

    Hello Mr. B,

    Thank you for looking into to it. What I was wondering was if it could only email me field that had a value bigger then NULL. Using your data the email would look...

     

    Apple 1

    Avocado 2

     

    Thanks in advance

  • Profile Image

    Answered by jeanettebmz on June 28, 2013 at 01:43 AM

    We currently have the Hide Empty Fields on Emails - This is very useful for long forms with non-required fields.So I think it should work for you

    Enabling this feature will remove all the empty fields on submission emails.

    To Enable this

    1. Click on Setup&Embed

    2. Click on Preferences at the toolbar

    3. Go to Advanced Settings and Enable the Hide Empty Fields feature

    Note that this would only work for "Default Email Notifications". We do not support this for edited or modified version of notification emails.

    If you still have doubts about this, please let us know

  • Profile Image

    Answered by callaway on June 28, 2013 at 01:46 AM

    /epic-answer

    Thank you so much!! Exactly what I was looking for. :) 

     

    Thank you so much!!! 

  • Profile Image

    Answered by gori-mathew on June 28, 2013 at 03:38 AM

    On behave of my colleagues you are welcome, do enjoy using Jotform.

    Thanks!