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


    Asked by cedartyidf on May 30, 2011 at 12:14 AM


    Je souhaite utiliser dans un formulaire le champs anniversaire en imposant dans le choix des années les années de 1998 à 2011.

    Comment paramétrer ce champs afin d'avoir uniquement les années désirées?

    Merci par avance de vos réponses.

  • Profile Image
    JotForm Support

    Answered by abajan on May 30, 2011 at 01:01 AM

    Hello cedartyidf

    Hopefully I have understood your question correctly because there is always the risk of a nuance being lost in translation. However, assuming that you wish to have a Birthday Picker field display only the year, you will need to inject a CSS rule similar to the one below:

    #input_5_month, #input_5_day, #sublabel_month, #sublabel_day {

    The "5" in "#input_5_month" and "#input_5_day" indicate that the Birthday Picker was the fifth field inserted into the form. With that in mind, you may have to substitute another number to make the code hide the inputs for the day and month.

    In Chrome, you can discover what the correct number is by going to the form's URL and right-clicking on the Birthday Picker field then clicking "Inspect element". In Firefox, Firebug accomplishes the same goal. Or if you don't know the order in which the field was inserted, you could simply try each number from "2" up until you hit the right one. (The first field is that containing the "Submit Form" button, so there's no need to try "1".)

    I trust that this wasn't too confusing. Perhaps someone fluent both French and English can convert this reply for you.

    Nevertheless, thanks for asking and please feel free to enquire more about our forms.

    ~ Wayne

  • Profile Image

    Answered by cedartyidf on May 30, 2011 at 05:41 PM

    Merci pour votre réponse rapide

  • Profile Image
    JotForm Support

    Answered by abajan on May 30, 2011 at 07:03 PM

    Avec plaisir, cedartyidf! :)

    ~ Wayne