Preventing Date of Less Than 3 Days Into the Future

garrisonw

23-03-2015

Hi All:

Newbie here, and I'm trying to come up with a way to prevent a user from selecting a date that is less than 3 days into the future in a date field. For example: Today is March 23, 2015, and I'd want a user filling out my form today to have to select a date on or after March 26, 2015.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

mouslander

23-03-2015

You could it with an error message. You would need to get the current date, then compare the date selected and if they did it outside of the requirement you would clear the field and popup a warning.