Block inappropriate words with Javascript Validation.
9lessons.blogspot.com
9lessons.blogspot.com
Also, if it is only Javascript validation, a malicious user can just turn off Javascript to get around it, or maybe just tamper with the HTTP after the browser is done with it.
a s s :)