What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by simplygod 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

    Page URL:
    http://form.jotform.co/form/42590717775869

  • Profile Image

    Answered by raul 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

    Answered by simplygod on November 19, 2014 at 08:14 PM

    Hi,

    Thanks, that's great. Much easier:)

    Appreciate your help.

    Ian

  • Profile Image
    JotForm Support

    Answered by jonathan 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