« Blog Home

§ Validating email addresses (it's impossible) (Rant Alert!)

Search google for "validate email address" and you'll get about 303,000 results.  I bet all of them are wrong...

Short version:

Why bother?  I'm probably going to enter "example@example.com" anyway.

Read More ...

§ Simpler validate form fields are filled in (no additional class names)

Makes sure something is entered in form fields.  If your form fields have classnames, don't use this one!

Read More ...

§ Validate form fields are filled in (additional class names)

Makes sure something is entered in form fields.  Uses regex to replace classnames so other classnames aren't affected.

Read More ...

« Blog Home


I don’t hold myself out as a role model generally, but I think the world might be better off if more people accepted responsibility and dealt with consequences.
David Drake, Author's Note to In the Stormy Red Sky