Date Picker: Hide "Day" and "Month" but keep "Year" shown as required

  • Profile Image
    Asked on November 19, 2014 at 07:40 PM


    I am using the birth date picker for the field "Year Completed" at the bottom of my form here:

    I have used CSS to hide the "Day" and "Month" inputs but I still need this field to be *required.

    But when I enter a year into the field, it is still asking me to enter the "Day" and "Month" (even though they are hidden).

    Is there any way that "Year" can be kept *required while hiding the "Day" and "Month" inputs?

    E.g. Is there a CSS value that will 'unrequire' the "Day" and "Month" inputs?


  • Profile Image
    Answered on November 19, 2014 at 08:06 PM

    Why not using a normal dropdown instead?
    You could easily build the years list using Excel for example.

    Please take a look at this cloned version of your form: I've replaced the Date picker for a normal dropdown.

    Feel free to clone this form if you want to.

    Let us know if this works for you.

  • Profile Image
    Answered on November 19, 2014 at 08:14 PM


    Thanks, that's great. Much easier:)

    Appreciate your help.


  • Profile Image
    Answered on November 19, 2014 at 09:48 PM

    Thank you for updating us.

    We are glad to be of help. Contact us again anytime if you require assistance on JotForm.