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 do you incorporate TIME into the date condition

    Asked by templesinai on July 15, 2016 at 03:43 PM

    How do you incorporate TIME into the date condition? I've tried several syntax formats and can't make it recognize TIME on the test form. See the attached image here. I'm trying to make the form change what is displayed not only after a certain date (that's easy) but also after a certain TIME on that day.

  • Profile Image
    JotForm Support

    Answered by BJoanna on July 15, 2016 at 06:43 PM

    This is not possible to hide/show field based on date and time. 

    However there is a workaround. Considering that I am not sure on which form you are working on I will explain how this can be done on my sample form. 

    For this workaround you will need two Date Time fields and one calculation field. I have set first Date field to show Custom date (2016-07-15 11:00 AM) and second Date filed to show Current date.

    Then add Form Calculation widget to your form and perform calculation like this.

    Then set your condition to hide desired fields if calculation is greater then zero.

    Here is my demo form: https://form.jotform.com/61967488594983 

    Feel free to test it and clone it.

    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by templesinai on July 18, 2016 at 01:25 PM

    This worked PERFECTLY! Thank you so much. I will use this workaround MANY times on my future forms, in fact, probably almost ALL of my "event specific" forms where we take reservations or sell tickets. Thank you!

  • Profile Image
    JotForm Support

    Answered by Mike on July 18, 2016 at 02:37 PM

    On behalf of my colleague, you are quite welcome. Please feel free to contact us anytime.