| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#21 (permalink) |
|
Grumpy old man
Join Date: Oct 2007
Location: North Japan
Posts: 1,737
|
By the way (sorry for the triple post) - if you just replace your ereg() or preg_match() line in your code with this one: Code:
|
|
|
|
|
|
#24 (permalink) |
|
I like Iced Tea
|
ONE MORE QUESTION ABOUT THIS!. What if the person had the option of putting stuff in the text field or not! Example "Fax Number: 111-111-1111" And it was optional. So if the person did not fill that field in, it would not validate it! but if the person did, it would validate it as a legible phone number. How is this done? |
|
![]() |