• I saw many solutions but cant disable Sunday Monday and holidays on my contact form 7.trying this solution using and id placing it in functions and footer files but it still displays.Code is

    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    
    <script>
        jQuery("#datepicker").datepicker({
            beforeShowDay: function (date) {
                return [date.getDay() == 2 || date.getDay() == 3 || date.getDay() == 4 ||
                date.getDay() == 5 || date.getDay() == 6, ""]
            }
        });
    </script>
    
    <label> <span style="color: #000080;"><strong>Your Appointment Date</strong></span>(required)
    [date* date-163 id:datepicker]</label>

    finding no solutions check here to
    https://stackoverflow.com/questions/53983437/need-to-disable-holidays-and-day-in-datepicker-contact-form-7/53997477?noredirect=1#comment94863952_53997477

    The page I need help with: [log in to see the link]

  • The topic ‘need to disable Holidays and day in datepicker contact form 7’ is closed to new replies.