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
    JotForm Founder

    How to Make a Birthday Picker with no Year Question

    Asked by aytekin on March 13, 2012 at 11:59 AM

    Someone asked this on the live chat. So, I will share the solution here. It is a hack solution but it will do what you would like. 

    One of the great things about JotForm is that you can get the full form source code. So, you can add the birthday picker to your web site and then remove the year question from the source code. Here is how you can do it:

    First get the full source code to copy to your web site. Open your form on the Form Builder.

    1. Open "Setup & Embed" tab on toolbar,

    2. Click on "Embed Form"

    3. Click on "Source" and copy the HTML code provided to your web site..

    Then edit out the year question from the birthday picker

    4. On the source code, search for _year and remove the dropdown menu code and the sub-label code.

    That's all. 

     

    Birthday Picker Form Builder form source JotForm source label
  • Profile Image

    Answered by elegantees5 on November 12, 2013 at 03:52 PM

    After spending an hour attempting to remove the year without it looking all funky, I found these instructions do not work. Why can't it be user friendly like everything else when setting up!?

  • Profile Image
    JotForm Support

    Answered by ardy0689 on November 12, 2013 at 05:36 PM

    Hello, we apologize for this inconvenience.

    You may watch this video I made to show you how to remove the year properly using the form's source code.

    Please click this link to view the video:

    https://drive.google.com/file/d/0B-VIwJUH3HROV2d0dmE3cDFMX0E/edit?usp=sharing

    Please let us know if you need further assistance or kindly open up a new thread if it is a new topic.

    Thank you

  • Profile Image

    Answered by LegalJeff on February 11, 2014 at 01:07 PM

    Ok two things that are not apparent for those of us who are not coders. 1. where did you edit the code, and 2. how do you insert the edited back into the form.

    Note: nice video with no audio? you think if you go thru the trouble to create the video you would at least give a play by play instruction to go with what you were showing.

    Thanks,

    Additionally can I use the same actions to remove country from my address field?  I created a subscription form for a local community organization and I don't need "country" and I only need the state in which the organization resides... "OH"

  • Profile Image
    JotForm Support

    Answered by Mike_T on February 11, 2014 at 02:40 PM

    @LegalJeff,

    There is no way to put your updated code back to the editor, you should edit the code in any text editor, and then simply use your updated code on your web page.

    If you do not want to change the form source, you can try another way. It is possible to inject the following CSS code to the form in order to hide each Year field on it:

    [id$='_year'] {
    display:none;
    }

    We are trying to stick with one question per thread, so I have replied to your second question via separate thread:

    How to remove a Country field from an Address tool

    Thank you.

  • Profile Image

    Answered by LegalJeff on February 11, 2014 at 03:54 PM

    Thanks Mike

    That worked great...