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

    Date Time format in a Condition

    Asked by MembershipSec on November 03, 2015 at 04:33 AM

    I wish to hide / unhide fields until a specified date and time.

    What is the format to specify the date and time in the condition?

    Thanks in anticipation

    Page URL:
    https://form.jotform.com/53062341835956

    format date time time format in
  • Profile Image
    JotForm Support

    Answered by Chriistian on November 03, 2015 at 08:55 AM

    Hi,

     

    As per checking, the Date Time field After/Before in the condition wizard only works for the date. The time is not being considered in the condition rule. The format for the After/Before condition is YYYY-MM-DD.

     

    You can check this cloned form that I have created for testing - https://form.jotformpro.com/53063133438955?. I have setup the condition as shown above. I use the date "2015-11-03 09:00". However, I noticed that when I test the form, the condition are only trigger if the date is set to the next date. 

     

    Do let us know if you need further assistance.
    Regards.

  • Profile Image

    Answered by MembershipSec on November 03, 2015 at 09:17 AM

    Sorry - do you mean I can only Hide / Unhide based on a date.?

    Are you saying Time is not relevant in the Hide / Unhide Condition?

  • Profile Image
    JotForm Support

    Answered by BDAVID on November 03, 2015 at 12:20 PM

    Correct, the conditional logic does not take the time, so you can only Show/Hide based on date.

    If you want to, we could send a request to our second level to implement the time, but there is no guarantee this will be approved, and if it gets approved, there is no estimated time-frame for it's implementation.