?
Solved

Dreamweaver Spry Validation Phone Number

Posted on 2012-08-14
1
Medium Priority
?
987 Views
Last Modified: 2013-12-13
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
0
Comment
Question by:GMC02108
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 38293970
This is a problem with Spry and Adobe has never resolved it.  I would suggest you switch to the Validation plugin for JQuery to get better functionality:

http://docs.jquery.com/Plugins/Validation
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
Tech giants such as Amazon and Google have sold Alexa and Echo to such an extent that they have become household names. And soon they are expected to be used by commoners in their homes, ordering takeout, picking out a song, answering trivia questio…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question