Date range restrictions do not seem to be working properly

  • trierb2
    Asked on September 25, 2015 at 4:51 PM

    I am trying to LIMIT the dates a user can enter into the form.

     

    For the start range:

    I want to limit today-30 (as the start date) so any date up to 30 days ago

    and allow any date up to 90 days from today: today+90

     

    For the END range, I simply want any date with today+1 until today+200

    So DO NOT allow past dates, or the present day and do not allow dates after 200 days from today.

     

    I enter these dynamic values into the system and it keeps letting me use incorrect dates?

     

    What am I doing wrong?

     

  • Ben
    Replied on September 25, 2015 at 5:41 PM

    Looking at your form, I believe that the fields that need to have this setup are:

    When will the variance BEGIN? and When will the variance END?

    Now as I took a look at your form I was able to recreate the issue, but as I cloned the form and redo everything in the Date Limits segment - in the same manner, it seems to be working.

    You can see my clone here: http://form.jotformpro.com/form/52676962709975 to confirm teh same.

    So what I would suggest is to simply go into one of the DateTime fields and make the change to the same.

    Once that is done, save your form and then do the other field and save it again. Now if you test again, it should be working properly.

    Do however let us know how it goes.

  • trierb2
    Replied on September 25, 2015 at 5:47 PM
    Thanks guys!
    I will review. Maybe it was a cache thing. I thought I did it right!
    Thanks for the very fast response!
    [dpz_tile-logo_blue-type_114x114]
    Brian Trier
    VP – The Americas & International Training
    Brian.Trier@dominos.com
    Phone: +1 (734) 930-3918
    Mobile: +1 (734) 386-6536
    SKYPE: DPCH.BRIAN.TRIER
    [cid:image002.png@01CDA190.6136DB40]
    [cid:image003.jpg@01CDA190.6136DB40][cid:image004.jpg@01CDA190.6136DB40]
    ...
  • David JotForm Support
    Replied on September 25, 2015 at 6:25 PM

    On behalf of my colleague, you are most welcome!  You can also clone his working copy of the form to your account:

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    This should give you a working copy without having to make any changes.