I am trying to create a form for booking appointments but am having a little bit of trouble figuring out how to restrict the person from filling out the form any less than 24 hours in advance. I have set custom errors on the date to Date.Time > DateTime.Today, but I am not sure how to restrict the appointment time to prevent someone putting something in at 11pm the night before for a 6am appointment. Is there something that can prevent setting a date and time less than 24 hours in advance?
Cognito Forms: Date and Time function help
cognito forms