If you want to impose a restriction on which days can be selected for a date field in a web form, you can use minimum and maximum dates in the element's settings.
Specifically, you can choose to indicate 2 years, 2 days, or 2 months here.
It is important that you follow the GNU date format for this. This means that you can indicate, for example, +15 days or +2 months. Important: Your format must be in English and you cannot mix months and days.
Furthermore, you can also enter specific days; this must be in the form of: 9 December 2004

Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article