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


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.

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

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 week, 4 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!