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
BedrockMission!

Learn More

View all

Sign in to view all badges

Preventing Date of Less Than 3 Days Into the Future

Avatar

Avatar
Level 1
garrisonw
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
garrisonw
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
garrisonw
Level 1

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)

Avatar

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mouslander
Level 4

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.