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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!