Disable Past Dates Isn't Working - Validation Error Disappears if the DateTime Fields is set as Required

  • Profile Image
    Asked on December 09, 2013 at 12:32 PM

    I have two DateTime fields in my form, one with the time section disabled and one with the time section enabled.

    I've disabled past dates in each one, but it doesn't seem to be working in the one with time enabled. When I enter a past date, the date fields are bordered in red, but the warning message only flashes briefly and disappears, at which point I can tab through and continue the form even with a past date entered in the DateTime field.

    However, in the DateTime field with time *disabled*, disabling past dates works just fine. When I enter a past date, the warning message appears, stays visible and prevents continuing without an appropriate date.

    Is it possible to disable past dates for a DateTime field with the time section enabled?

    Thank you for your help!



  • Profile Image
    Answered on December 09, 2013 at 02:06 PM

    Hi Wilson,

    Your settings for both the DateTime field are correct. I did check the cause of the issue and found out that it was the required field validation conflicts with the Disable Past Dates function.

    You'll see the difference to this form: http://www.jotform.co/form/33424183090852.

    This is a glitch so let me forward this thread to our developers so they can further check and fixed the issue. While waiting, I would suggest to temporarily set the fields as not required.

    Thanks for reporting and stay tune for updates.

  • Profile Image
    Answered on December 09, 2013 at 03:43 PM

    Thank you for such a prompt response, and for the form demonstrating the difference.

    I appreciate the suggested temporary fix as well, and I'll definitely stay tuned for updates.

    Thanks again!