birthdate picker bug -- not setting the year from and year to in ascending order

  • SpiceVillage
    Asked on May 22, 2014 at 1:10 AM

    Problem with year not displaying in ascending order in the picker. When I key in "year from" & 'year to" in the property bar, I'd expect the year to display this way:

    2014

    2015

    2016 etc.

    Instead, it's displaying the later year first (2016 , 2015, 2014) which doesn't make sense. 

    What's the issue here?

     

    yang

  • liyam
    Replied on May 22, 2014 at 6:31 AM

    Hello yang,

    The year from and year to fields are by default in descending order.  I have submitted a feature request to have the year on the birth date picker field to be able to show the fields in ascending order.

    For the mean time what you can do is download your form's full source code and then adjust the options on the items on the select tag for the year field to something like this:  

    <select class="form-dropdown validate[required] form-validation-error" name="q65_eventDate[year]" id="input_65_year">

         <option>  </option>
         <option value="2014"> 2014</option>
         <option value="2015"> 2015 </option>
         <option value="2016"> 2016 </option>
    </select>

    If you have other questions or concerns, please do let us know.

    Thanks.

  • liyam
    Replied on May 27, 2014 at 2:43 AM

    Hello Yang,

    We've now fixed the bug. You may now set your year's settings in the order that you prefer.

    If you have other questions or concerns, please do let us know.

    Thanks.

  • SpiceVillage
    Replied on May 29, 2014 at 8:01 AM
    Hi
    Pls take a look at the attached screenshot. I still can't get any of my
    forms to display the years in ascending order .
    Can we fix this asap pls?
    thank you.
    ...
  • Welvin Support Team Lead
    Replied on May 29, 2014 at 10:34 AM

    Our forum cannot accept email attachments so please have it as a link to the image instead. Or follow this guide for adding images to our support forum: https://www.jotform.com/answers/277033

    Anyway, I've fixed it for you. Basically, you just need to reverse the From and To so in this case, From Year would be: 2016 and To Year would be: 2014

    birthdate picker bug    not setting the year from and year to in ascending order Image 1 Screenshot 20

    Thanks