Support

Home Forums Event Espresso Premium Drop-down Menu: Not Pre-Populated

Drop-down Menu: Not Pre-Populated

Posted: September 23, 2013 at 4:01 pm


Andrew

September 23, 2013 at 4:01 pm

Hello —

We have two drop-down menus on our registration page: One is to select a price/payment option and another is the number of tickets (or, in our case stand up paddle boards).

We were wondering if it was possible to make it so that instead of a price or number of boards, the first option of each menu said, “Select an option”?

Thanks!

~Melissa


Dean

September 24, 2013 at 1:34 am

Hi Melissa,

It isn’t easy not without code changes as the dropdowns are in the code.

I can give you 2 functions to drop into the Custom Files addons custom_functions.php (it will *not* work in the theme), which will add “Please select” to the ticket types dropdown and ticket number dropdown.

These functions are just the main ones used (they are pluggable if that means anything to you) with an extra line in each to show the Please select option.

One problem with this is that if they DONT select a ticket type, they can still register but it will cost them a million dollars/pounds/whatever.

Some jQuery will help here to block them from going forward if they dont accept it, but that would need to be added in by you.

The code – http://pastebin.com/6YVWhagh

Hope that helps and sorry it isn’t an easy answer.

The support post ‘Drop-down Menu: Not Pre-Populated’ 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