PCGUY Posted August 11, 2008 Posted August 11, 2008 How can I force the use of at least a 10 digit phone number on user registration? Thanks.
BryceJr Posted August 11, 2008 Posted August 11, 2008 Log in to your osC admin panel --configuration>>minimum values
germ Posted August 12, 2008 Posted August 12, 2008 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 >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.