Support

Home Forums Event Espresso Premium How to check checkboxes by default?

How to check checkboxes by default?

Posted: April 18, 2017 at 3:21 am


Dinn

April 18, 2017 at 3:21 am

Hello there,

By default, the form checkboxes show up unchecked, how can i set them checked?

many thanks!


Tony

  • Support Staff

April 18, 2017 at 5:51 am

Hi there,

Currently, Event Espresso does not have an option to have the checkboxes them checked by default so this will require some custom development.

One option is to use some jQuery to do this for you, for example:

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

Will check all checkboxes output within the registration form.

You would add that function to a Custom Functions Plugin install on the site.


Dinn

April 19, 2017 at 8:17 am

Many thanks, that solved our issue!


Tony

  • Support Staff

April 19, 2017 at 8:45 am

You’re most welcome 🙂

The support post ‘How to check checkboxes by default?’ 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