I'm doing a scheduling form. The company is not 24h and does not work every day of the week. In this case, I need to restrict the options according to the company calendar.
I thought of validating with js, but this will be anti-functional, one that I will allow to select the date and only then to report that it is not possible.
I needed some kind of code that only displayed the days available. Examples: <input type="date">
: displays dates from Monday to Friday
<input type="time">
: displays hours from 8h to 18