How to hide year option from the Birthday picker?

  • MarianaCCForm
    Asked on March 10, 2017 at 5:14 AM

    Is there a way I can use the Birthday picker widget but not have the year in. We only want them to select day and month?

  • Kiran Support Team Lead
    Replied on March 10, 2017 at 9:23 AM

    It is possible to hide the year field from the birthday picker field by injecting the following CSS code to the form. However, the field cannot be a required field since the year needs to be selected.

    [id$='_year'] {

    display:none;

    }

    Hope this information helps!