Posted: February 10, 2015 at 12:26 pm
|
I am using the latest release of EE4. The billing address form uses the system State field, which is a (semi-)static list of states. There is no way for users NOT to select a state. This is causing all payments to go through with “Alabama” as the state and in some cases banks rejects payments. What is the workaround? This seems to be a rather major flaw. Can I customize the billing form so that it uses a custom, free-form State field in lieu of the system State field? |
What payment method are you using? Can you give us a link to your site so we can take a look? |
|
|
We’re using authorize.net. Link is https://megado.com/registration. Thanks! |
|
Any updates please? |
It sounds like we have a developer ticket to fix this issue. We’ll send out an update as soon as we get an update out that allows for user submitted states. For now, you’ll have to add the countries manually in the Event Espresso > General Settings > Countries page. To make that process easier, we have some plugins you can install to populate the missing country and state data: https://github.com/eventespresso/ee-packs-states-provinces I hope that helps. |
|
|
Sorry that does not help. Having more states to choose from is nice to have, and so is having the option to let the user type in their own state name. My problem is basically that currently the field DOES NOT LET YOU PICK A BLANK STATE. With the default set to Alabama, we are getting REJECTED transactions. Please let me know how to address this. Even if it is a hack. This is pretty urgent. Thanks. |
I managed to find a hack for you. If you change core/libraries/form_sections/payment_methods/EE_Billing_attendee_Info_Form to make the country and state fields text inputs which would result in this: https://docs.google.com/file/d/0B2KCao4zFjaxWG0yblA1MFVPYjQ/edit?usp=drivesdk However, I am testing a way to change these dropdowns to text fields using filters. The fix should be released shortly. |
|
|
This did the trick, thank you! I am looking forward to the permanent solution. |
|
I want free form state field too – so I am subscribing to this topic! Seems the “add new state if you can’t see yours” option on the checkout page has gone as well. |
|
I don’t need State at all. In Europe we have countries and regions or states are not used so much. |
|
Found the easiest solution, to just uncheck the state in the questions group. |
|
I’ve followed the hack from @seth but my state / country is still using dropdowns on the mydomain/registration-checkout/ page.
Is there another step required to get this working right? |
Hi Jack, It turns out that the hack that Seth posted is for the billing info fields for the credit card form on the payments page. It does not affect the registration form fields. |
|
|
OK – thanks for your help. I understand there is an update coming out 4.6.7 that will address this issue. I am eagerly awaiting as at the moment customers are unable to register for our imminent event. |
Hi, please go ahead and update to Event Espresso 4.6.8. You can view the change log for that version here: https://eventespresso.com/wiki/ee4-changelog/ — |
|
|
Thanks – I don’t see any update through WP Plugins update screen. Is this gonna have to be a manual update? |
|
Hi I’ve now updated to 4.6.9 but can’t see any way to make state (or even country) optional as a text field. Also, the “Add new state” link is still missing from the registration page? What’s going on! |
|
Hi, Their isn’t an option, it’s a filter. If you add the following to a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/) it will change the dropdown to a required text field. If you change the true to false, it will show a field that is not required so can be left blank.
Please note this only works for payment billing questions, not the standard address question. |
|
Well that’s great, thank you – but it doesn’t help me – I need a hack or a fix to be able to make state (and country) text fields on the REGISTRATION checkout form – I don’t want any dropdown – just a simple text field for both. Please tell me how best to achieve this. Also, the “Add new state” link is still missing from the registration page. |
|
Hi, I can make a request for filters to be added for those in future releases, though I cannot guarantee inclusion. Please note, it is best if you start your own forum thread unless your query exactly matches that of the original person who created the forum thread. This helps reduce and even stop confusion within a support thread. |
The support post ‘Making state optional or free 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.