If so adjust the datepicker js script on each form.
Remove the weekend specific and put in the ability to do specific days.
Specific dates is already built in using the Blocker form.
jQ(function() {
//***Datepicker
var UnavailableDates = ["<?php echo implode('","', $results);?>"];
//Sunday=0 to Saturday=6.
NotworkingDays = [2, 3, 5];
function Unavailable(date) {
dmy1 =date.getFullYear() + "-" + (date.getMonth()+1) + "-" + date.getDate() ;
if (jQ.inArray(dmy1, UnavailableDates) >=0 || NotworkingDays.indexOf(date.getDay()) > -1) {
return [false,"", "Appointments Unavailable"];
} else {
return [true, "", "Appointments Available"];
}
}
//***Datepicker
var UnavailableDates = ["<?php echo implode('","', $results);?>"];
//Sunday=0 to Saturday=6.
NotworkingDays = [2, 3, 5];
function Unavailable(date) {
dmy1 =date.getFullYear() + "-" + (date.getMonth()+1) + "-" + date.getDate() ;
if (jQ.inArray(dmy1, UnavailableDates) >=0 || NotworkingDays.indexOf(date.getDay()) > -1) {
return [false,"", "Appointments Unavailable"];
} else {
return [true, "", "Appointments Available"];
}
}
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com