JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Date Time format in a ConditionAsked 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
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.
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?
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.