-
fabglobalAsked on March 27, 2017 at 9:55 AM
Dear,
I would like to disable the date picker for today + 24 hours
What I did is today>today in Disable date ranges, this works for the date only. As I have included the hours in the date picker I would like to disable the hours as well.
I would like to disable the following, starting from today (27 03 2017 15:50 until 28 03 2017 15:50)
Kind regards
-
Kiran Support Team LeadReplied on March 27, 2017 at 1:01 PM
It looks like we cannot set the conditions on a date field along with time. Please allow me some time to run few tests in this regard and get back to you with relevant information.
Thank you for your patience.
-
Kiran Support Team LeadReplied on March 27, 2017 at 1:09 PM
Could you confirm if the date field to be disabled until a specific date i.e., 28 03 2017 15:50 or every next day?
-
fabglobalReplied on March 28, 2017 at 3:39 AM
I thank you for your participation in this testing case.
Unfortunately it needs to change every day, case:
today 28/03 9:38 until tomorrow 29/03 9:38
if it was the 10/04 10:00 it needs to be disabled until the 11/04 10:00
-
Chriistian Jotform SupportReplied on March 28, 2017 at 4:44 AM
I'm not able to disable the date picker along with time. I was just able to disable Date ranges for example 2017-3-28>2017-29-3
-
fabglobalReplied on March 28, 2017 at 5:16 AM
Yes indeed you are not able to disable the date picker along with the time option.
What I do now is:
today>today
this solution wouldn't work for the time selection.
-
Ashwin JotForm SupportReplied on March 28, 2017 at 5:57 AM
Hello fabglobal,
The date limit option of "DATETIME" field only triggers conditions for date range. "today" only returns today's date and not time stamp. Let me test this and I will get back to you if I am able to find any workaround to achieve this through regular conditions.
Thank you!
-
fabglobalReplied on March 28, 2017 at 6:01 AM
Ok guys, so I've made a workaround in my testcase
You shouldn't be able to select the following:
today until tomorrow (+24hours in time)
so 28/03/2017 12:00 until 29/03/2017 12:00
Feel free to test it:
https://form.jotform.com/70862703545963
-
Ashwin JotForm SupportReplied on March 28, 2017 at 6:23 AM
Hello fabglobal,
I am glad to know that you figured out a workaround yourself. I did test your form and it seems to work as expected. Please check the screenshot below:
Thank you!