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

    Limit Dates allows extra day (that should be blocked) when set up far in past

    Asked by ButchJotForm on December 30, 2015 at 09:34 AM

    I am (in general) trying to check to see if an entered Date lies between two pre-defined Dates.

    In specific, I am testing a one-sided Date check... namely, insuring that the entered-Date is on-or-before a specified Date.

    In my example, the specified Date is 05-28-1998 (May 28, 1998)... and I want the widget to produce an error message if the entered Date is 'after' that 05-28-1998 Date.  In other words, I want to 'allow' any Date between the beginning of time up through and including 05-28-1998... and 'dis-allow' any Date 05-29-1998 and beyond.

    My Form example has the upper Date-limit set... but it allows (for instance) 05-27-1998, 05-28-1998 -- both of which are correct... but it also allow 05-29-1998 (which is incorrect)... and finally dis-allows 05-30-1998 (and beyond).

    Something is amiss... I just can't figure out what.

    Any assistance you can provide is welcome...

    Butch

    Page URL:
    https://form.jotform.com/53633956628972

    date limit message check assistance
  • Profile Image

    Answered by Ben on December 30, 2015 at 10:56 AM

    Thank you for reporting this Butch.

    To resolve it, you can leave the form set as it is and add the following range to be disabled:

    1998-05-29>today

    This will make it work for you and disable all days between 28th of May 1998 to today and the future days as well.

    You can see it in action here:

    https://form.jotform.com/53634683628970

    Do let us know how it goes for you.

  • Profile Image

    Answered by ButchJotForm on January 15, 2016 at 11:34 PM

    Ben, I tried that... and it worked.

    Does that mean the 'descriptions' of what the Date-Range Limits do is expressed incorrectly of the Form Builder?

    Butch

  • Profile Image

    Answered by Ben on January 16, 2016 at 11:04 AM

    I'd say Butch that the wording could be the issue here to, but just to some extent, since the functionality was not built nor intended to be set with both dates in the past, but rather that the End date is in the future - and this is the usual setup.

    However applying the solution above does make sure that the days work as you wanted them to.

    Do of course let us know if you happen to have any further issues with the same functionality and we would be happy to assist with the same.