What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How to allow selection of only weekdays and not weekends in date picker widget?

    Asked by mackayjames on March 02, 2015 at 11:23 AM
    For the date picker widget, is it possible to make it so that the user can only select weekdays as the buisness is not open on the weekends/holidays...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 02, 2015 at 11:51 AM

    Hello mackayjames,

    Well it is currently not possible to hide the weekends from the "Date Picker" widget. 

    I would suggest you to add normal "DateTime" field in your form and then inject the following custom css code to hide the weekends from the calendar:

    .days td:first-child,

    .days td:last-child {

    visibility: hidden;


    The following guide should help you on how to inject custom css code in form:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Please check the screenshot below:


    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!