Support

Home Forums Event Espresso Premium Validation for email and phone number

Validation for email and phone number

Posted: March 31, 2014 at 4:53 pm


Inikosoft Design

March 31, 2014 at 4:53 pm

Hello,
I’ve added a 2nd email input on my form and want to know how to add validation to it just like the validation on the default email field. Also, I’d like to add phone validation so that it is 10 digits, is that possible? If so, how would I go about doing that? This is the form I am trying to add validation to: Click here


Lorenzo Orlando Caum

  • Support Staff

March 31, 2014 at 5:38 pm

Hello,

The for the email field is looking for a CSS class of “email.”

The problem with trying to add extra validation is that you can’t currently associate a custom CSS class with the questions.


Lorenzo


Inikosoft Design

March 31, 2014 at 5:47 pm

Hmm, is there a way to add validation to the phone number so that it requires 10 digits?


Dean

April 1, 2014 at 2:06 am

Hi,

You could add a small Javascript snippet to achieve that, something like this perhaps http://www.jquerybyexample.net/2012/05/validate-phone-numbers-using-jquery.html

The support post ‘Validation for email and phone number’ 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