I tried to customize the subscription form. I set phone number to be required but it remains optional. By default the country field is also not set to “required” but the payment page requires it.
OK, those are the billing info fields and they do not use the questions from the registration form so the settings within Event Espresso -> Registration Form do not affect those.
There is a filter within the Braintree add-on that allows you to alter the fields using code, here is an example of how to remove fields from the Braintree billing form:
It sounds lie you only want ‘country’ within the $fields_to_remove array from that code.
In the latest versions of EE the City and Postcode fields are already required, which version are you using?
Viewing 3 reply threads
The support post ‘Customizaton 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.
Support forum for Event Espresso 3 and Event Espresso 4.