- This topic has 2 replies, 2 voices, and was last updated 13 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Email address validation on registration form needs to allow + symbol
Tagged: email validation
The email registration form validation needs to allow users to have a + in their email address. For instance gmail allows:
This causes an invalid email address error in the registration form. To correct line 59 in the jquery.validationEngine-en.js file needs amending on line 59 from:
“regex”: /^([A-Za-z0-9_-.’])+@([A-Za-z0-9_-.])+.([A-Za-z]{2,6})$/,
to
“regex”: /^([A-Za-z0-9_-.’+])+@([A-Za-z0-9_-.])+.([A-Za-z]{2,6})$/,
Hope that helps someone…
In latest version of WP eStore (v6.9.4) this patch should be applied to:
emember_js_form_validation_rules.php on line 25:
“regex”: /^([A-Za-z0-9_-.’])+@([A-Za-z0-9_-.])+.([A-Za-z]{2,6})$/,
should be changed to:
“regex”: /^([A-Za-z0-9_-.’+])+@([A-Za-z0-9_-.])+.([A-Za-z]{2,6})$/,
Thank you. We will take a look and update as necessary.