String Validation Function v1

Added By: shellcreatives

(3 of 5) by 5.
Rate Snippet:
Description:  This function needs the string, the minimum length, the maximum length, and the type and it will validate it for you. For passwords, you'll need to also do additional error checking. The type can be several things. "isNumeric" means that only numeric values are allowed. "isEmail" means that standard 0-9, lower and upper case, @, period, and hyphens and underscore symbols are allowed. "isAddress" means a few special symbols and spaces are let in along with the standards to provide address validation. "" means that only 0-9 and a-z and A-Z are let in. This function requires checkForValidChars That's a function that can be found by searching in Visual Basic Script. For more programming tools, go to my website at For questions or comments, email me at Thanks Jon
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: