Date Time format in a Condition

  • Profile Image
    MembershipSec
    Asked 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

  • Profile Image
    Chriistian
    Answered 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
    MembershipSec
    Answered 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
    BDAVID
    Answered 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.