Support

Home Forums Event Espresso Premium Hiding the Calendar on a Date Picker Field

Hiding the Calendar on a Date Picker Field

Posted: March 11, 2016 at 8:51 am

Viewing 1 reply thread


backbaymission

March 11, 2016 at 8:51 am

We’re using EE4 for volunteer registrations and one piece of information we need to collect is our volunteers’ birthdays. We’re using date picker field for that.

Because many of our volunteers are older, the calendar that pops up with the date picker isn’t super useful. Is there a way of hiding that (while keeping this a date field)?


Josh

  • Support Staff

March 11, 2016 at 10:30 am

No because the calendar is the actual input. You could add a text field for the same question, and the year part of the calendar can be filtered to show a range of years as well. Here’s an example of some code that shows how to change the range of years that appear above the calendar:

https://gist.github.com/joshfeck/e7a461c24fe75f6decaa

Viewing 1 reply thread

The support post ‘Hiding the Calendar on a Date Picker Field’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso