>OTOH, I don't want to write a huge function when a simple one will >do. Any suggestions? Hi Tom, I recently started using fValidate from PeterBailey.net, and it's probably the best all-around validator I've found. It comes pre-configured with a whole series of validator types, and you can attach them directly to the form elements using custom attributes or even the "alt" attribute. http://www.peterbailey.net/fValidate/site.php -dave