Skip to main content

I'm trying to create a request form where the user must submit a request for a permit by 1pm the day before the permit goes into effect. They select the date of the permit on the form. If the time they are submitting the request is after 1pm the day before that date, I don't want them to be able to submit the form, and I want them to see a message stating why. I can't figure out how to create this rule or if it's even possible.

You can use the formatDate function.

Take a look at this >>>>  


As far as I can tell, the function in that answer was to check for a certain time. I don't know functions very well, so I'm not sure how that applies to my situation. Can you explain? Thanks.


Reply