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

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

    Hi,

    I am using the birth date picker for the field "Year Completed" at the bottom of my form here: http://form.jotform.co/form/42590717775869

    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?

    Thanks

  • Profile Image
    raul
    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: http://form.jotformpro.com/form/43227795814968 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.
    Thanks.

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

    Hi,

    Thanks, that's great. Much easier:)

    Appreciate your help.

    Ian

  • Profile Image
    jonathan
    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.

     

    Regards