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 disable the sunday's dates on the calendarview

    Asked by maxsouzedo on October 22, 2013 at 03:13 PM


     

    Hi,

    How can i disable the sundays dates? I dont want the user select the sundays days of the calendar.

    Can I put an warning message when he clicks the sunday dates? like when he clicks invalid dates?

    sunday days 

    warning message


    style size height message
  • Profile Image
    JotForm Support

    Answered by Welvin on October 22, 2013 at 04:56 PM

    Good day!

    Unfortunately, that is not possible in our form builder. That can somehow be achieved by downloading your form files and modifying the "calendarview.js" file. This also requires you to embed and upload the form files to your own server. We can help you about this matter. Just please let us know.

    Thanks

  • Profile Image

    Answered by maxsouzedo on October 22, 2013 at 05:38 PM

    I already download my form files and embed and upload to my server.

    Whats the next step?

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by Welvin on October 22, 2013 at 06:30 PM

    We'll try to come up for the solution later today. Here's our reference: http://www.dynarch.com/jscal/#disabling-dates. We need to find, adjust and execute this to our existing Calendar File. Please stay tune for updates.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by ardy0689 on October 22, 2013 at 10:06 PM

    In addition to my colleague's suggestion, you may want to try disabling the "Sundays" by injecting a custom CSS code:

    .days > .weekend:first-child{

    visibility:hidden !important;}

     

    Please refer to this guide on How to Inject a Custom CSS Code

     

    The above CSS code should disable the Days on Sunday weekends and can not be selected