Support

Home Forums Event Espresso Premium Date Picker on Form Field EE3

Date Picker on Form Field EE3

Posted: December 17, 2015 at 7:39 am

Viewing 4 reply threads


Dovid Altein

December 17, 2015 at 7:39 am

Hi there, is there anyway to add a datepicker dropdown/popout on a form field?

Thanks


Jonathan Wilson

December 17, 2015 at 10:24 am

Hi Dovid,

The datepicker dropdown is not an option in EE3. The option is available in EE4.


Dovid Altein

December 17, 2015 at 10:27 am

would it be possible by adding something like this to a file? If yes, which file?

jQuery(‘label:contains(“Birth Date”), label:contains(“Birth Date (DD/MM/YYYY)”)’).next(‘input’).datepicker({dateFormat: “dd/mm/yyyy”});


Josh

  • Support Staff

December 17, 2015 at 10:30 am

That said, you can add a datepicker to a specific input using this code:

https://gist.github.com/joshfeck/8f7c3c379fa7c9475187


Josh

  • Support Staff

December 17, 2015 at 10:35 am

Further to the above, you can add the above linked code to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 4 reply threads

The support post ‘Date Picker on Form Field EE3’ 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