Hello,
I'd like to restrict the time selection drop down options on the date-time selector to only display 8:00 to 5:00 and only allow a time range from 8:00am to 5:00 pm..
My first attempt was to apply a the min and max attributes to the time portion of the field, for example:
$('.startdate .cf-date-field-time input').attr('min',"08:00");
$('.startdate .cf-date-field-time input').attr('max',"17:00");
but the result only displays time choices of 8:00 - 11:00. The validation of 8am to 5pm does work though.
Any suggestions on how to achieve this is appreciated.
Thanks