Date Reservation Widget - is there a way to turn off a specific weekday from being selected? 

  • Profile Image
    springbackco
    Asked on July 21, 2016 at 03:29 PM

    Is there a way to exclude certain days (like Wednesdays) from getting selected?

    We offer deliveries Monday, Tuesday, Thursday and Friday, but not on weekends, which we can turn off, but is there a way to turn off a specific weekday from being selected? 

  • Profile Image
    Kiran
    Answered on July 21, 2016 at 04:40 PM

    Yes. It is possible to disable certain days to select from the calendar by injecting some CSS code to the widget. If you want to disable Wednesdays from the widget, you may inject the following CSS code.

    td:nth-child(3) {

        opacity: .35;

        background-image: none;

        pointer-events: none;

    }

    This is how the calendar will be displayed after injecting the code above and it doesn't allow to select as well.

    Hope this information helps! 

  • Profile Image
    pearlynnrose
    Answered on January 29, 2017 at 04:10 PM

    Hi, just wondering what codes I would need for other days in the week so I can adjust my calendar accordingly. Thank you :D
  • Profile Image
    Chriistian
    Answered on January 29, 2017 at 09:39 PM

    Hi @pearlynnrose,

    This seems to be an old thread. To better assist you, I have moved your question to a new thread. Here's the link to that thread: https://www.jotform.com/answers/1049953 

    Thank you.