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 past dates (greyed out, cannot be selected)

    Asked by EffieMcNair on March 16, 2016 at 01:55 AM

    Hi There,

    I've set it up to 'YES' as in the guide but it isn't working. I read a thread from 2013 with the same problem which you said you had a glitch, and wondering if you have solved it since then?

    Here is my form:

    https://form.jotform.co/60738104748863

     

    Thanks, Effie

    disable past date
  • Profile Image
    JotForm Support

    Answered by EltonCris on March 16, 2016 at 04:24 AM

    It is working fine on your form as of checking.

    Your form isn't showing the error message due to the custom CSS injected into it.

    If you want the form error messages to appear just like on this screenshot, inject this CSS codes to your form.

    .form-line-error .form-error-message {

        display: block !important;

    }

    Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes (paste it at the bottom section)

    Hope this helps!

  • Profile Image

    Answered by EffieMcNair on March 16, 2016 at 04:40 AM

    Haaaa....Thanks, but I was actually expected it to do something else...not just to show an error :-)

    I thought It's going to 'grey' out the fields that are in the past...so the user is not able to choose it at all....example here (under  Moving Date: *):-

    https://www.kentremovalsstorage.com.au/instant-removalist-quotes/locations/

     

    Is it possible at all?

  • Profile Image
    JotForm Support

    Answered by EltonCris on March 16, 2016 at 04:47 AM

    That is still possible. :)

    On the same property window, click on "Limit Dates" button then uncheck the "Past".

    Past dates cannot be selected (greyed out) after that.

  • Profile Image

    Answered by EffieMcNair on March 16, 2016 at 05:13 AM

    Now you are talking!   Thank you :-)

  • Profile Image
    JotForm Support

    Answered by Charlie on March 16, 2016 at 05:26 AM

    I'm glad my colleague's suggestions helped :) You can also check our guide related to the "Limit Dates" option in this link: https://www.jotform.com/help/337-How-to-Use-the-Limit-Dates-feature-in-a-DateTime-field.

    Should you need our assistance again, feel free to visit us here in the forum.