Support

Home Forums Event Espresso Premium Datepicker to readonly

Datepicker to readonly

Posted: September 7, 2020 at 7:31 am


2silda

September 7, 2020 at 7:31 am

Hi, is it possible to make Datepicker read-only on event registration for users? We have problem where users won’t pick the birth date from datepicker, but are writing it by themselves and very often make mistakes with month and date order 🙂


Tony

  • Support Staff

September 8, 2020 at 4:23 am

Hi there,

We don’t have an option to do this within EE itself, but it can be done using a little jQuery like this:

https://gist.github.com/Pebblo/f95fb92fa3573af030e141ab2afed82a

Add that to a custom functions plugin on the site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


2silda

September 8, 2020 at 4:26 am

Thank you Tony! Works like a charm.


Tony

  • Support Staff

September 8, 2020 at 4:35 am

You’re most welcome.

The support post ‘Datepicker to readonly’ 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