Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Require Phone Number Digits


PCGUY

Recommended Posts

Posted

You can set the minimum length for the phone number to 12.

 

Theoretically that would require input similar to:

 

123-456-7890

 

BUT, they can also input:

 

ABC-DEF-GHIJ

 

Or even:

 

...-...-....

 

And it would still "pass".

 

There is no code in "stock" osC that actually checks for number of digits, nor "validates" a phone number.

 

All it does is check the number of characters entered.

 

Sorry if I rained on your parade.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...