Birthday Input w/out the Year dropdown

  • Profile Image
    jeggspuehler
    Asked on April 08, 2016 at 09: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

     

  • Profile Image
    beril
    Answered on April 08, 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.

  • Profile Image
    jeggspuehler
    Answered on April 08, 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

  • Profile Image
    Charlie
    Answered on April 08, 2016 at 01: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.

  • Profile Image
    jeggspuehler
    Answered on April 08, 2016 at 04:10 PM

    Worked great! Thanks

  • Profile Image
    jeggspuehler
    Answered 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

     

  • Profile Image
    Charlie
    Answered on April 22, 2016 at 01: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.