I am able to set a min for a date or time field using JavaScript, but I cannot get it to work on a date field with time checked on too. I need to set the min on a date/time field to moment/now. The issue seems to occur when trying to convert the data toISOString. Has anyone had luck with setting the min on a date/time field? If so, I would greatly appreciate it if you would share your JavaScript.
Discussion
Discussion
How to set a min on a Date/Time field
If you are on Forms 11 and you are using classic form designer, you may post your custom script here so we can check how to make it work.
If you would like to upgrade to Forms 12 and switch to modern form designer, you could use the built in date validation feature as shown in Sarah's post.
Unfortunately, self-hosted doesn't have that nifty feature @████████ is showing. However, you can use the Use the current date and time option on a date field and then compare the real time date/time to another date field with a set date/time. Use your show/hide rules to control what fields on the form are available during that window.
I'm on Cloud, so I don't know if this applies to version 11 or not, but if you're able to switch to the Modern Designer, this can be set under the advanced tab.