Support

Home Forums Event Espresso Premium How to make the promo code field required?

How to make the promo code field required?

Posted: July 27, 2015 at 11:05 pm

Viewing 1 reply thread


Don Joslin

July 27, 2015 at 11:05 pm

Hi, I would like to know if it is possible to make the promo code field on my registration form a required field. The event is free, but we want people to add a promo still.


Josh

  • Support Staff

July 28, 2015 at 9:00 am

Hi there,

Event Espresso does not have a built in feature that sets the promo code field to be required. However, a developer can use the jQuery .addClass method on the registration form page to add the ‘required’ class to the Promo code input. This way, the validation script that’s already used the page to validate the registration form fields will also validate the promo code field.

Viewing 1 reply thread

The support post ‘How to make the promo code field required?’ 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