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 do i limit the calendar

    Asked by Percmind on July 16, 2014 at 09:04 AM

    Hi, I want to limit the calendar to view only 3 weeks from today, how do I do that in the source code javascript?

    Thanks.

    source thanks 3
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 16, 2014 at 10:54 AM

    Hello Percmind,

    Have you downloaded your form's source code and want your users to view only up to 3 week from current day or you want to achieve this in your form builder?

    You can take advantage of our condition feature to check if the selected data is within the 21 days from today then you can show a message to user and hide the submit button as well. Please check the screenshot below on how to create such conditions:

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by Percmind on July 17, 2014 at 05:37 AM

    How do i achieve this? it's not in "show properties" or anywhere, can you please tell me the steps? 

  • Profile Image

    Answered by jedcadorna on July 17, 2014 at 09:03 AM

    Here's the steps:

    1. Add a DateTime field

    2. You can remove the "Allow Time"

    3. Add a condition then choose Show / Hide a form field

    4. Then follow the condition created by my colleague. If you want to hide the submit button once user selects weeks that is more than 21 days then you can apply this settings to your condition.