Support

Home Forums Event Espresso Premium Customizaton form

Customizaton form

Posted: June 14, 2017 at 9:48 am

Viewing 3 reply threads


evidencegroupe

June 14, 2017 at 9:48 am

Hello

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.

Thanks


Tony

  • Support Staff

June 14, 2017 at 11:08 am

Hi there,

The payment page is not the registration page so the options don’t apply there, it depends on which payment method you are using.

Can you link me to an event I can use to view this, please?


evidencegroupe

June 15, 2017 at 2:21 am

I use the braintree payment gayteway. I can’t provide you a working link now but you look at this screen shot :

http://hpics.li/ce820c1

I also want to make post code and city required and remove the country field.

Thank you


Tony

  • Support Staff

June 15, 2017 at 5:18 am

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:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/payment-methods/ee_braintree_remove_fields.php

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.

Event Espresso