You seem to have a bug when editing Date Limits

  • ButchJotForm
    Asked on February 18, 2016 at 10:50 AM

    Hello,

    It seems like the edit of the "limit dates" does not take for the Start and End Dates.  I have tried this a bunch of time and in different ways.  The only way around this that I have found is to create a new date field (from scratch or using the duplicate function).

    Check out the definition of "Person #1 Birthdate Adult 17 & Over" and then try entering a date between 05/29/1999 and 12/31/2009.  According to the definition they should be legitimate - but they are rejected.

    The End Date had been 1999-05-28 and it was changed to 2010-01-01. 

    It still limits based upon the original 1999-05-28. 

    I have made a copy of the form and posted the URL below.  It was copied just for you so please feel free to play with it.

  • Kevin Support Team Lead
    Replied on February 18, 2016 at 3:00 PM

    I cloned your form and checked the date field, this is the current settings on it.

    You seem to have a bug when editing Date Limits Image 1 Screenshot 40

    I have now changed the Start and End Dates as shown in the image below.

    You seem to have a bug when editing Date Limits Image 2 Screenshot 51

    When I tried the validation I noticed that it does not take effect, it allows me to select dates with a year after 1999.

    You seem to have a bug when editing Date Limits Image 3 Screenshot 62

    However, seems not to be working only in your form, I have added a date field on a different form and it worked as expected.

    After saving the settings, if I go back again the settings are still the same.

    Could be possible to remove the field and add it again? 

    Do let us know if the issue is not there, if it's, we will be glad to take other look to your form.

  • Larry_Beahan
    Replied on February 19, 2016 at 6:54 AM

    Hi,

    Yes - we know that if we create a new control the new date limits work.  But it is a real pain to have to drop the control and re-add it in order to change the date limits.  Especially since we have to go into the conditional logic and re-establish it to the newly created fields.

    So - On the same form I added a brand new date control right near the top of the form. I initially set the date limits to 2015-01-01 to 2015-12-31. I tested the form on the preview. Then I changed the date limits to 2000-06-01 to 2000-06-30.  When I re-tested in the preview, it still only allowed the original date range.  If I recall the control, it still shows the NEW dates - even though the new dates are not recognized.

    In case it makes a difference, the form was converted from a Forms Central form.  But the new date control was added completely new - it was not duplicated from an existing date control.

    Larry

  • Welvin Support Team Lead
    Replied on February 19, 2016 at 10:55 AM

    It seems like the autofill is taking part of this problem. Can you try disabling this feature and check the limits again?

    http://www.jotform.com/help/227-How-to-Enable-Auto-Fill-Feature 

    Here's my cloned version of your form: https://form.jotform.com/60494810103952. The date has been changed from 2015-01-01 to 2015-12-31 to 2000-06-01 to 2000-06-30. I checked it and it's working fine after disabling the autofill. 

  • Larry_Beahan
    Replied on February 19, 2016 at 12:26 PM

    I am sorry - I do not see an autofill property.

    I see a Default date - and that is already set to "None".

  • Kevin Support Team Lead
    Replied on February 19, 2016 at 1:14 PM

    Follow the steps as the image below.

    You seem to have a bug when editing Date Limits Image 1 Screenshot 30

    Then disable the Auto Fill option.

    You seem to have a bug when editing Date Limits Image 2 Screenshot 41

    Do let us know how it goes.

  • Larry_Beahan
    Replied on February 19, 2016 at 2:38 PM

    OK - when I disabled it and went back in, the date limits were set back to the original.

    I changed them again and that time they worked.

    So the workaround is that I have to turn off the autofill when editing and then turn it back on when I am done I guess.

    Thanks - would be nice if you could gat that patched some time along the way.

     

    Larry

     

  • Kevin Support Team Lead
    Replied on February 19, 2016 at 3:46 PM

    You may also consider use this guide: http://www.jotform.com/help/97-How-to-Save-Forms-and-Continue-Later

    It's almost the same than the Auto Fill feature, with the only difference that this one allows to continue the form even in other web browser. However, there could be a change on the current Auto Fill feature and it may work with features as the one that you are using on the date field.