"This field is required" error when hiding the day.

  • Profile Image
    Asked on April 07, 2014 at 12:03 PM

    Hi. I have hid the day in my birth date picker where instead of it saying month, day, year it only gives you a month and year option. The problem is that the hidden day is causing the red "This field is required" message to go off automatically, even though the month and year are filled out so it is not allowing me to submit the form. Please help. Thanks.

  • Profile Image
    Answered on April 07, 2014 at 01:21 PM


    That's because each of them are required. Hiding it will be useless since that field would ask for a value. Leaving it blank would trigger required validation error.

    The easiest solution is to use two separate dropdown fields and align them on the same line by shrinking them. Here's how to shrink fields http://www.jotform.com/help/90-Field-Positioning