Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Validation for email and phone number | Event Espresso - Staging Server

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

Viewing 3 reply threads


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

  • Support Staff

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

Viewing 3 reply threads

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 - Staging Server