Support

Home Forums Event Espresso Premium Fast way to add Country dropdown field to registration form

Fast way to add Country dropdown field to registration form

Posted: January 11, 2015 at 11:24 pm

Viewing 3 reply threads


Bruce

January 11, 2015 at 11:24 pm

Hi.

Anyone know a fast way to get a country dropdown field on the registration form in EE4?
Adding the countries 1 by 1 in through the UI is a complete waste of time.

Am thinking of a way to insert the data straight into the database, can someone point me to the tables where the data is stored?

Or perhaps someone has another idea on how to achieve this?

Event Espresso team… Perhaps you want to include standard info fields in your next version?

Many thanks,
Bruce.


Dean

January 12, 2015 at 12:57 am

Hi,

We have some mini plugins that will insert country specific regions for you: https://github.com/eventespresso/ee-packs-states-provinces


Bruce

January 13, 2015 at 12:51 pm

Hi Dean,

Thanks for your reply. I had a look at that but that’s not quite what I’m looking for. I’ve got a country field (as part of the address) and a nationality field on the registration form. Both are drop downs and need to be populated with all the various countries and nationalities.

I’m looking for a way to get all the options into the database without having to put them in one by one through the UI.

Bruce.


Lorenzo Orlando Caum

  • Support Staff

January 13, 2015 at 1:24 pm

Hi,

Try this query:

https://gist.github.com/lorenzocaum/8293c68d5d1bc3bb6403


Lorenzo

Viewing 3 reply threads

The support post ‘Fast way to add Country dropdown field to registration form’ 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