Home Forums Event Espresso Premium Registration Form – Checkbox Question

Registration Form – Checkbox Question

Posted: May 27, 2024 at 2:27 pm


May 27, 2024 at 2:27 pm


I noticed when I add a description to a checkbox question in the registration form, it populates a hyphen. Any way I can remove this hyphen?

Thank you. ๐Ÿ™‚


  • Support Staff

May 28, 2024 at 12:34 am

Iโ€™m sorry, but thereโ€™s no filter available to remove that.

the option i can suggest is to put it as value and not description. But since you have html tag in it, you need to put it in description.

But will bring this to our tEEm for discussion and if its possible to be customized.



May 28, 2024 at 7:15 am

Thanks for the response Rio!
Yes, exactly, that is why we have it in the description for the HTML. ๐Ÿ™‚


  • Support Staff

May 28, 2024 at 8:02 pm

Does this option works for you?

Then have it styled by targeting the element

you may also try to modify the code here.
This is for setting the checkbox to check by default.

Then just create JS/jquery script to replace the hyphen.

function ee_set_checkboxes() {
'jQuery( document ).ready(function($) {
const mydata = document.querySelector(".ee-checkbox-label-after:nth-child(4)");
add_action( 'wp_enqueue_scripts', 'ee_set_checkboxes', 11 );

in any case you create custom code, follow this article




June 6, 2024 at 8:41 am

Thanks for this, Rio. ๐Ÿ™‚
I don’t think this quite achieves what we want but I will keep this for reference. We will live with the hyphen.


  • Support Staff

June 6, 2024 at 6:27 pm

Thank you. Have a wonderful day.

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

Event Espresso