Link to home
Start Free TrialLog in
Avatar of GMC02108
GMC02108Flag for United States of America

asked on

Dreamweaver Spry Validation Phone Number

I've created a form to update a customer record using Dreamweaver and ColdFusion.

When the customer logs on, they are presented with a screen pre-populated with their personal information, such as address and phone number.

I've set the phone number field up using spry validaiton in US/Canada format (000) 000-0000.

If the field is empty, and the customer starts typing in it, it automatically applies the correct formating.

The problem is, if the record came up pre-populated with a phone number - if they click in the box, it automatically apends a "(" to the right of the text and marks it "invalid format".
validationerror.JPG
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial