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

    Can the Date of Birth Year be Relative to Current Year?

    Asked by acsys on January 18, 2016 at 08:53 PM


    Is it possible to set the year drop down list relative to the current year.  For example I would like the list to read from 1961 to 1995, which is the equivalent of {CurrentYear}-55 to {CurrentYear}-25?

  • Profile Image
    JotForm Developer

    Answered by mert on January 19, 2016 at 04:26 AM

    Hi there,

    Yes, you can calculate the "{CurrentYear}-55"; but you need to add another "Date" field which shows the current date and "Form Calculation" widget to calculate the year between dates.


    1) You need to set options called "Year From" and "Year To" on "Date" field. With them, you can set the starting and ending point on "Year" dropdown.

    To do that,


    2) Add a new "Date" field to show current date.

    3) Add a "Form Calculation" with the following setting. On the widget, the "Date" fields' values are in days, so I add a division after extraction.


    Also, please check the example form which I made to see how it works:



    If you need any extra help or encounter an error while on the process, please don't hesitate to contact us.