1. jayrigby
  2. Support
  3. Wednesday, April 15 2015, 03:25 PM
Hi there!

Two questions:

First - I have email address as the login.
In the easy profile profile - when a user edits their email address there is no validation - I could have email@email.c0m

Second - Is there a way to also require users to verify their email address upon change via email? Before the email address is actually updated??

Thanks!!!
Jay
admin Accepted Answer
Admin
Hi,

1) validation is the same of Joomla, email is generated by Joomla APIs. rule in file /libraries/joomla/form/rules/email.php

2) for now not, we plan to make plugin for this in future.;)
  1. more than a month ago
  2. Support
  3. # 1
jayrigby Accepted Answer
Pro
Thanks for the fast reply!

For the email validation - is there a way to prevent numbers in the .com part of the email address?

I took a look at the joomla file and I see:

$this->regex = '^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$';

Is there something I should do here??

Thanks for all your help!!
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
try to change with this:
$this->regex = '^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z-]+)*$';
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.