Support

Home Forums Event Espresso Premium Make "State" a text field on registration page

Make "State" a text field on registration page

Posted: September 22, 2015 at 9:23 am


nyckl

September 22, 2015 at 9:23 am

Hello,

We accept registrations from users all over the world and need the “State” field on the registration form to be a text field.

I followed this from github (https://gist.github.com/joshfeck/d452eb64caf380d6dc72) and no change took effect, it is still a dropdown.

While I have loaded all countries into the dropdown through SQL, the state dropdown is very confusing to potential ticket purchasers. We’ve had more than one write and say, “It only lists Canada and the US, care we able to join?” and that is only from the people that have reached out to us.

Yes, there is a very small link to “add a new state,” but I’m hoping the drop down can be removed. Almost every shopping cart online, almost all major retailers, and also plugins like Gravity forms, allows users to type in their own States.

Is a fix for this available? It’s driving away potential customers because they are confused by the added step.

I see there are plugin packs to add some countries and all of their states, but that seems excessive for the many potential combinations that could come to our site.

Thank you.


Josh

  • Support Staff

September 23, 2015 at 4:08 pm

Hi there,

It turns out the gist that you tried is for changing the State input to a text field on the billing form page. It isn’t designed to change the registration pages State form input.

I checked in with the dev team about this and at this time I can tell you that change the registration form’s state input to a text field isn’t a viable solution. There are a few reasons for this, mostly having to do with the way contacts are saved and retrieved from the database. To help explain that a bit, when someone registers for an event on the site for the very first time, a contact record is also created and the contact record stores any address information, including State and Country.

Conversely, if State and Country info isn’t captured on the registration form, then they go to the payment step where they fill out a billing form, the billing form info doesn’t get stored in the contact record. That’s why it’s possible why the billing form State input can be changed to a text field by using the github gist I shared earlier.

Since you’re concerned that the state dropdown is driving away potential customers, I can offer a few suggestions on how to avoid potentially driving them away:

1) If state isn’t required for your contact records, you can uncheck the State system question in the Address Question Group editor, and add a new State text field. You’ll still capture the State answer in the registration record, it just won’t be in the contact record.

2) The “add a new state” link text can be changed to read as something else. If you’re interested in changing the text to be something more user-friendly for your audience, please let me know and I can help you get that set up.

The support post ‘Make "State" a text field on registration page’ 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