Disabling past dates in DateTime

  • tlwbangalore
    Asked on June 1, 2015 at 5:36 AM

    In any form I want to select only the upcoming dates in the datepicker...previous days should be disabled.Is it possible?

  • Ecem JotForm Designer
    Replied on June 1, 2015 at 7:52 AM

    Hi,

    I believe that is possible, you can disable previous or prior dates from the current one by enabling the option "Disabling Past Dates". You can follow the screenshots below.

    1. Click the "Properties" in your Date field.

    Disabling past dates in DateTime Image 1 Screenshot 30

    2. Enable the option "Disable Past Dates".

    Disabling past dates in DateTime Image 2 Screenshot 41

    3. Make sure to save the changes. Here's a demo form: http://form.jotformpro.com/form/50468644203958. Enter a date prior to the default one and you'll see a warning message.

    Do let us know if this works.

    Thank you.

    Best Regards

    Ecem

  • tlwbangalore
    Replied on June 1, 2015 at 9:38 AM

    OOps actually its a Localized Calendar widget....so there is no feature like you showed..can u please help me again. :P

  • Jan
    Replied on June 1, 2015 at 11:21 AM

    Unfortunately, the localized calendar widget does not have an option to disable the past dates. However, you can still the DateTime tool and follow the instructions of ecem. 

    Thank you.

  • tlwbangalore
    Replied on June 8, 2015 at 4:22 AM

    Thanks man. I am using it now. If I want to change the look and feel (css), is it possible ?
  • Ashwin JotForm Support
    Replied on June 8, 2015 at 8:34 AM

    Hello tlwbangalore,

    As we cannot answer multiple questions in one thread, I have moved your latest question to a new thread and you will be answered here:  http://www.jotform.com/answers/583898 

    Thank you!