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

How to set limits on date/time fields so users cannot choose a date before/after today's date?

Level 1
Level 1

Currently I have a normal date/time field on my form. A customer wants this date field to not allow any option in the future in one area of the form and not allow any option in the past for another area of the form. I tried creating error messages and using the validation for it but I can't really get it to work due to my limited knowledge of JavaScript.

How would I go about completing this task? Is it JavaScript related or can I create actions and validate different things a user inputs?

0 Replies