Support

Home Forums Event Espresso Premium Display all radio buttons as UNselected in ticket selector when max tickets = 1

Display all radio buttons as UNselected in ticket selector when max tickets = 1

Posted: February 4, 2017 at 7:00 am


Jerry

February 4, 2017 at 7:00 am

I have an event where the maximum tickets allowed per order is 1; therefore the ticket selector presents radio buttons to the user. By default, the first radio button is already selected when the page loads. I want to have NO buttons selected by default, forcing the user to select a button. Is this possible?

This question was already asked, but the solution given won’t work for me — I need to leave the maximum tickets setting at 1.

Thanks for any help!


Jerry

February 7, 2017 at 12:39 pm

Josh has been ON THE MONEY with replies to my other posted questions, but this one is the Big Enchilada. Hoping we can get this one solved! I’m comfortable editing my functions.php and templates and even adding JavaScript if necessary. THANKS!


Josh

  • Support Staff

February 7, 2017 at 1:18 pm

Hi there,

We’re looking into this, and actually, there shouldn’t be a pre-selected radio button in the ticket selector if there is more than one ticket option. So in the end it shouldn’t be necessary to edit a template or add JavaScript (at least long-term) because this is something that will be fixed in the plugin itself, where the fix will be included in a future update.


Jerry

February 7, 2017 at 1:24 pm

Thank you, Josh! It does seem as though this should be the default behavior (no pre-selected option). Any idea at all about the timeline for the fix? Or is there maybe a workaround or patch I could employ in the meantime? The website owner/client feels this is quite critical.


Josh

  • Support Staff

February 7, 2017 at 6:08 pm

The fix should happen quickly. In fact there’s already a branch with a fix that’s going to be reviewed. If you’d like to test it out it’s available to download here.

If the above link no longer goes to active branch, then that means the branch has been merged to the release candidate, and will be included in the next release of Event Espresso 4.


Garth

  • Support Staff

February 20, 2017 at 12:42 pm

Hi. In 4.9.31.p when there are multiple options with a maximum quantity of 1 per checkout, we no longer pre-select the first option, no option is pre-selected.


Jerry

February 20, 2017 at 1:46 pm

Awesome, thanks!!

The support post ‘Display all radio buttons as UNselected in ticket selector when max tickets = 1’ 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