View Single Post
Old 02-11-2011, 05:56 PM   #1
doakh
 
Join Date: Feb 2011
Posts: 8
Default Email Validation

I am trying to validate an 'email address' in a contact form. I installed the 'Spry Validation Text Field' and choose Email Address as the type in the Properties Tab. I am having trouble hiding the 'invalid format' and 'a value is required' preview states. I want them to appear when the user has not entered a text or a valid email address as I have seen at http://http://labs.adobe.com/technologies/spry/samples/validationwidge ts/TextfieldValidationSample.html and not like the attached link below. The following script is active..'var sprytextfield1 = new Spry.Widget.VaildationTextField("emailValidation", "email", {validationOn: ["blur"]});.
Go to www.designthelight.com/pages/contact3.html to see image.

Thanks

Last edited by doakh; 02-11-2011 at 06:06 PM..
doakh is offline   Reply With Quote