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

    "Hide empty fields on email" function is not working if Time field has AM/PM time format

    Asked by shelleykim on November 05, 2013 at 01:16 PM

    I enabled the "hidden blank fields" option when sending an e-mail notification, but it doesn't seem to be working. Is there a glitch in the system? I tried it yesterday, and it was working fine.

    Also, I want to send an email notification only when a certain field is checked "yes." Is this possible? 

    Page URL:
    http://form.jotform.us/form/33075478854162

    email email notification hidden Glitch
  • Profile Image

    Answered by EliezerN on November 05, 2013 at 02:15 PM

    Thanks for contacting us.

    I checked your form and found that you have edited the Notification content:

    So, that might be the cause of the issue as the Hide empty fields function only work with the default notification email. So, if you edited it will not work any more.

    You may add/create a new notification and avoid edit it or Hide empty fields function will stop working. Use this guide to know how to add/create a new notification: Setting up email notifications

    The answer to your second question is Yes, it is possible, however, we would appreciate if you post your question in a separate thread as it is a different question. Then we will reply to providing you withe proper assistance.

    Thanks

  • Profile Image

    Answered by shelleykim on November 05, 2013 at 02:26 PM

    Hi,

    Thank you for the response! I am a little confused because I put the same "Thank you" on the top yesterday and all the empty fields were hidden when they e-mailed back. 

    The only thing I changed on the form was that I put in a Start Time and End Time with the time format fields. Prior to this, it was a text box where they filled it in. Is this the cause of the issue? Is there any way to fix that? 

    Thanks!

  • Profile Image

    Answered by EliezerN on November 05, 2013 at 04:11 PM

    Thanks for the clarification.

    So, It seems that actual cause was the date fields you added to the notification as you gave them the a customized layout:

    I also wanted to check the form from closer, so, I cloned your form and  I deleted all the notifications and then created a new one  and pasted the text and the PDF link you had added and then sent  a submission, but the issue still persists. 

    So then I deleted the new notification, added a new one without adding/editin anything and then sent a submission, and then the Hide empty fields function worked: 

    So, would recommend you to avoid edit the notification, otherwise, it will affect the Hide empty fields function.

    Please let us know if you need further assistance.

    Thanks

  • Profile Image

    Answered by jeanettebmz on November 05, 2013 at 04:27 PM

    In general, the only way to make it to work (hide empty field) is to rebuild the email alert without touching anything

    It might be possible that if you rebuild the email alert after making a change (delete/add a new field) and then add the custom text, the hidden fields will not appear. But there is no guarante this will always work

  • Profile Image

    Answered by shelleykim on November 05, 2013 at 05:35 PM

    Thanks for all your help.

    I took your advice and did not alter the notification in any way. However, I'm still getting these fields: 

    Times Requested 1:30 PM - 6:30 PM
    AV? No
    Times Requested :00 AM - :00 PM
    Times Requested :00 AM - :00 PM
    Times Requested :00 AM - :00 PM
    Times Requested

    :00 AM - :00 PM

    Some of the blank fields are not showing up, but the times still do. Any way to fix that? 

    Thank you!

  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 05, 2013 at 09:30 PM

    Hello shelleykim,

    I am sorry for the trouble caused to you.

    I created a new form and along with other questions I added the time field. Upon testing my form with "Hide Empty Fields on Emails", I was able to replicate the same issue which you are facing.

    It seems there is a technical glitch with the "Time" field. Even if you do not select any value in the time field, it is included in the submission emails with value as "00 AM".

    To my knowledge, this is because of the time format of "AM/PM" selection. Either "AM" or "PM" is always selected and that makes the submission engine think that it does have a value and hence not empty.

    I am reporting this to our backend team and we will update you as soon as we have any information from them. 

    For a quick workaround, I request you to please change the time format of your time field to "24 Hour" instead of "AM/PM". That should solve your problem for now.

    Here are the steps to change the "Time Format" of your time field:

    1. Load your form in editor.

    2. Select the time question of your form.

    3. In the form tool bar, click on the "Time Format" and change the selection from "AM/PM" to "24 Hour"

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 08, 2013 at 11:43 PM

    We have just released a fix for this bug. Empty date/time fields will no longer appear on email alerts as long as the 'Hide Empty Fields' option is set to 'Enabled'.

    Please do contact us again if you have further questions or concerns.

    Cheers!

  • Profile Image

    Answered by shelleykim on November 13, 2013 at 11:49 AM

    Hi,

    Thank you for the response! I just tried it again, and it doesn't seem to be hiding these fields. I also tried to delete the e-mail notification entirely and redo it, but that doesn't seem to fix the problem. Please advise, thank you!

  • Profile Image
    JotForm Support

    Answered by Welvin on November 13, 2013 at 02:41 PM

    We have added a fix to the issue. Can you please do some test? Let us know if the issue still there.

    Thanks