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

    My conditions for the Date and Time Fields are not triggering

    Asked by wncbook on March 19, 2017 at 12:17 AM

    I want to show some fields ONLY if the date is after 8am on a specific date.  It works as of midnight on that date, but when when I try to add in the at 8:00pm such as

    if (current date) is after

    2017-03-18 at 8:00pm

    SHOW Multiple fields

    (selected fields)

     

    I thought maybe using an "and if" statement but I couldn't figure out how to do that.  All I'm trying to do is show one field if it is before, and the rest of the fields if it is after.  Right now, with the cutoff being midnight, literally, I have people staying up until midnight to sign up for an event.  I really don't want them to be doing that!

     

     

  • Profile Image
    JotForm Support

    Answered by Jim_R on March 19, 2017 at 11:44 AM

    You never mentioned which form you're working on so I checked the last one you edited 63515844649163

    I'm seeing you already have the Conditions for the DATE and TIME fields, and you figured out using the ALL rule when adding 2 or more triggers. However, you're not using the 24h format for the time. That's probably the reason why 8PM doesn't work (your condition points to 8AM).

    To fix this, just change 8:00 to 20:00

    If it still doesn't work, give us a bit of an overview (be as detailed as you can) on how you're expecting your conditions to work. This would greatly help us in figuring out what's causing it to fail.