Support

Home Forums Event Espresso Premium Country Lists and States on Registration Form

Country Lists and States on Registration Form

Posted: May 14, 2020 at 11:50 am

Viewing 3 reply threads


eosw

May 14, 2020 at 11:50 am

Hi – On our site here https://2021.eosconference.com/events/eos-2021-conference/ We are trying to get USA as the default country. Also under state(s) why is it listing all states from all countries? If it’s USA, we would want it to display just the USA states, For Canada, just their states, etc. Can you please advise?


Tony

  • Support Staff

May 15, 2020 at 4:19 am

Hi there,

On our site here https://2021.eosconference.com/events/eos-2021-conference/ We are trying to get USA as the default country.

Currently, we don’t have an option to set a specific country as the default but you can do it with a little jQuery, like this:

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

You can add that to a custom functions plugin and we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Also under state(s) why is it listing all states from all countries? If it’s USA, we would want it to display just the USA states, For Canada, just their states, etc. Can you please advise?

When you select a country in the country dropdown, the state dropdown filters to display ‘states’ from that country.


eosw

May 15, 2020 at 7:11 am

HI Tony -Found it..thanks


Tony

  • Support Staff

May 15, 2020 at 7:26 am

You’re most welcome.

Any further questions just let us know.

Viewing 3 reply threads

The support post ‘Country Lists and States on 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