Css code to hide the year section in Birthday picker.

  • scottd1
    Asked on December 1, 2017 at 6:33 AM
    - date of birth field - As per your recommendation, I have replaced the DoB field with the birthdate picker widget. Can you please supply the CSS code to hide the year section of the field?
  • Ashwin JotForm Support
    Replied on December 1, 2017 at 6:39 AM

    I have injected the following custom css code in your form to hide the year dropdown:

    select#input_14_year, #sublabel_year {

        display: none;

    }

    Please check the screenshot below:

    undefined Screenshot 101512128346noYear Screenshot 21