I have created a custom module which stores a bunch of dates which cant be selected in the sales module for order date
Is there away to prevent the selection of these dates?
My initial thought was raise error when a date is selected (onchange method) however once an incorrect date has been selected, the error consistently popups up without enough time to change the date.