I am looking for a solution to restrict user from picking a date greater than today in Sitecore forms.

1 Answer 1


You can do this using OOTB validation on the Date Field like below.

Once you select a date in the Sitecore Form you can choose the validator like this.

enter image description here

So if you choose the Past Date Validator you will see the validation message like The date must be in the past.

And if none of the validator works for you then you need to create a custom validator and add it to your date field.

You can refer to this Sitecore article to create your custom validator


Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.