How to limit a date entry to 5 week in the future.
I am trying to create a system for booking events for my school that limits entries to future dates based on what sort of activity is selected.
i.e. one field (activity) can select from Professional Learning, Excursion and Camp.
THen the date field below (with calendar popup) can only select dates 2 week, 5 weeks or 2 months in the future?
How would one do this?