Birthday Input w/out the Year dropdown

  • jeggspuehler
    Asked on April 8, 2016 at 9:50 AM

    I've reviewed some discussion posts online and I can't get this to work. I simply want to remove the "year" field on the birthdate picker. Please help!

    https://form.jotform.com/jeggspuehler/neo-form

     

  • beril JotForm UI Developer
    Replied on April 8, 2016 at 11:20 AM

    You can hide the year with the CSS code below:

    #input_345_year {

        display : none !important;

    }

    #sublabel_year {

        display : none !important;

    }

    If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.

  • jeggspuehler
    Replied on April 8, 2016 at 12:25 PM

    Thanks, that worked! This also removed the date of hire "year" label to disappear. Is there a way to still show that?

    https://form.jotform.com/jeggspuehler/neo-form

  • Charlie
    Replied on April 8, 2016 at 1:41 PM

    You can try using this code instead:

    #cid_345 > span:nth-child(3) {

        display: none !important;

    }

    That should remove the whole span for the year in your specific "Birth Date" field.

    Let us know if that works.

  • jeggspuehler
    Replied on April 8, 2016 at 4:10 PM

    Worked great! Thanks

  • jeggspuehler
    Replied on April 22, 2016 at 12:06 PM

    The birthday filed is set to required, but when we fill out the form it wont let us submit. Any ideas?

    https://www.jotform.com/jeggspuehler/neo-form

     

  • Charlie
    Replied on April 22, 2016 at 1:16 PM

    It seems like the last reply you have is different from the original post that you have here. To better assist you, I went ahead and opened a separate thread for that concern. Please refer to this link instead: https://www.jotform.com/answers/824558. We will address it shortly. Thank you.