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

    Only allow to choose specific weekdays in calendar

    Asked by eiermann on July 09, 2014 at 03:16 AM

    Hi there, 


    we offer tours that always start on Monday and Thursday every week.

    Is there a way to tell the calendar that only Mondays or Thursdays can be selected as departure date?


    Link: Komodo Cruise


    Thanks for your help in advance!

  • Profile Image

    Answered by jedcadorna on July 09, 2014 at 08:51 AM


    Thank you for contacting us.

    I was searching our widget gallery page, but I don't see any widget that has this feature even in the form builder I don't see anything that would allow you to do this. However this can be done by injecting a custom CSS to hide the other choices or by creating a custom script  to disable selection which is not Monday or Thursday. 

    I'll try to make a sample and get back to you once done. Thank you for your patience.

  • Profile Image

    Answered by eiermann on July 09, 2014 at 09:10 AM

    That sounds awesome! Thanks in advance!

  • Profile Image

    Answered by jedcadorna on July 09, 2014 at 12:43 PM

    As promised here is the sample form http://form.jotformpro.com/form/41894909846978. Only Monday and Thursday can be selected in the calendar. 

    Here is the custom CSS that I have used.

    .days td:last-child,
    .days td:nth-child(2),

    .days td:nth-child(3),
    .days td:nth-child(5),
    .days td:nth-child(6){
    visibility: hidden;

    If there's anything else that we could help you with don't hesitate to contact us back.

  • Profile Image

    Answered by eiermann on July 10, 2014 at 12:15 PM

    AWESOME! Thank you so much!

  • Profile Image
    JotForm Support

    Answered by david on July 10, 2014 at 12:43 PM


    I am glad my colleague was able to create a solution for you.  Please let us know if you have any other questions and we will be happy to help.

    Thank you for using Jotform!