Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Preventing Date of Less Than 3 Days Into the Future

Level 1
Level 1

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.


0 Replies
Level 7
Level 7

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.