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

abcoward

17-02-2016

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?

Accepted Solutions (0)

Answers (0)