Page 1 of 1

Datepicker only months and year

Posted: Fri Jan 10, 2020 3:33 pm
by babel
Formbuilder 1.0.2 is working fine, except in the datepicker. If I remove day in dateformat and the day in the date component, the required field is not working. Even if customers have filled a month and year, they get a message that the datefield is not filled. So the question is how can I get a working datefield with only months and year?
I'm using cms ms 2.2.12

Re: Datepicker only months and year

Posted: Fri Jan 10, 2020 5:59 pm
by DIGI3
When I've done this I just hide the day field with css/js. Give it a default value so it passes validation, but the visitor doesn't see it.

Re: Datepicker only months and year

Posted: Fri Jan 10, 2020 7:23 pm
by babel
Thanks Digi3. Your solution works.