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 Year to Pre-2013 for Date of Birth Object

    Asked by GeekTips on March 10, 2012 at 08:26 PM

    Currently the Birthday object allows up to 2016, how can I limit it a max of 2012 for the year?

  • Profile Image

    Answered by Totem on April 11, 2012 at 04:05 PM

    Just wondering why the Year option (in Birth Date Picker) goes up to 2016? Why isn't the standard the current year? Who is going to select that they're born in the future? Can this issue be address as a standard to the birth date picker functionality?

    Thanks!!

  • Profile Image
    JotForm Support

    Answered by jonathan on April 11, 2012 at 06:29 PM

    Hi,

    Actually, the Birth Date Picker field(was named such because it was in the 'Quicker Tools' for its birth date purpose) is not solely use for birth dates only.

    You can change the label 'Birth Date' to something else like a recurring event perhaps (i.e. a yearly meeting that can happen again next year)... then this field become readily available with its pre-populated years/dates.
    When a user needs to answer a question for future year, it can easily select on the future drop down dates.

    I hope this answers your inquiry. Thanks.

  • Profile Image

    Answered by cheekyface on January 14, 2013 at 01:54 AM

    Not sure if this has actually been answered correctly (maybe I'm reading it wrong).  It seems the first question asked is about how to remove or limit the options in the date picker field.   I would also like to know how to do this as I only want to give people about 5 years into the future to choose from (including the current year). 
    Otherwise is it possible to set the year to a default as the current year?  If so can you please show how?

     

    So for example I would like the filed question to be: When is the date of your event?

    The options will then be within a range from current year (2013 in this case) up to 5 years (2018 in this case).  Currently there are about 50 years in the list and it's just annoying to have to scroll through to get the right one.  I can imagine this might be especially annoying on mobile phones.