PDA

View Full Version : Spry Email validation.


cino_1991
03-12-2012, 04:56 AM
Hi , is there a way to validate an email address of a specific format in spry?i have tried using pattern ,but doesn't works fine for me.
example of email format:
Thanks in advance..

edbr
03-12-2012, 06:31 AM
of course there is you are being way too vague,

what do you want to add a mailto link in your post for?

cino_1991
03-12-2012, 06:35 AM
Ohh i was just sharing with u an example of the mail format i want to check using spry..can u share with me any tutorials or any supporting websites.
thanks.

edbr
03-12-2012, 06:41 AM
you want to validate an email address? that's pretty standard what is the problem you are getting?

cino_1991
03-12-2012, 06:56 AM
I would like to validate an email address of this pattern abc@abc.ab.ac using spry so what i need to add on to this javascript
var emailtextfield= new Spry.Widget.ValidationTextField("emailtextfield", "custom", {isRequired:true});
thanks