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


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.

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 4 years, 6 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!