Support

Home Forums Event Espresso Premium Country Drop Down and Numeric only text field

Country Drop Down and Numeric only text field

Posted: July 31, 2015 at 12:42 pm

Viewing 1 reply thread


Esports

July 31, 2015 at 12:42 pm

I want to create a new dropdown item in the Questions part of the admin area for ‘Country’ that will be pre populated with all countries so I don’t have to add all myself.

Also is there a way of having a text field be numeric only?

Thanks


Lorenzo Orlando Caum

  • Support Staff

July 31, 2015 at 1:27 pm

Hello, you can enable the countries that you would like to make available by going to Event Espresso –> General Settings –> Countries.

Then select a country and then look in the left side of the screen and enable the country appears in drop-down menu option. Then save changes.

If you would like to enable all countries and are comfortable with PHPMyAdmin or Adminer, then please see this gist:

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

Automatic validation for a number on a text field is not available at this time but could be possible with some jQuery:

http://jsfiddle.net/lesson8/HkEuf/1/


Lorenzo

Viewing 1 reply thread

The support post ‘Country Drop Down and Numeric only text field’ 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