
June 27th, 2006, 11:42 AM
|
|
Contributing User
|
|
Join Date: Jun 2006
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Please, need help with form validation in Coldfusion
Hi all,
I am trying to validate the phone number in my form, but the problem is that there are some phone numbers that are more than 10 digits. So the follwoing code does not really work for me:
<cfinput type="text" size="35" name="Phone1" value="#Phone1#" message="Please enter phone1 in XXX-XXX-XXXX format."
validate="telephone" validateAt="onSubmit">
Does anyone know any other way that I can do this validation?
Please, I really need help with this. I have been working on it for a while and I jsut can't figure it out.
Thanks a lot 
|