Here is the validate.js code for the script I am using (which refers to validating the email box).
Code:
this.setHandler('email',
function (value) {
regex=/^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/;
return regex.test(value);
}
);
Is it possible to change this somehow to only allow it to accept certain email domans, such as "@gmail.com" so you couldn't register with another, such as "@hotmail.com"
Thanks.
__________________
There's more to be discovered...
Please login or register to view this content. Registration is FREE
|