Tagged: CONTACT FORM, Reservation form
Hi guys,
Similar to a recently posted query here and using the information there, I have managed to disable the dates 27 and 29 on my reservation form with the following:
beforeShowDay: function(date) {
var day = date.getDay();
function IsChineseNewYear(date) {
var day = date.getDate();
var month = date.getMonth() + 1;
return (day === 27 && month === 01);
}
return [(day != 0 && !IsChineseNewYear(date))];
},
Please can I ask how I can disable the date 28 as well? Thank you very much!
Hey Jon,
Please change following line
return (day === 27 && month === 01);
to
return (day === 27 && month === 28 && month === 01);
Best regards,
Yigit
Thanks so much Yigit! Please direct me to a statue of you so that I and my fellow Enfold users can head on down there to worship at your feet! Brilliant support as always!
Hi,
Glad we could help!
Please take a moment to review our theme on themeforest https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Vinay