<FORM name="wordedit" method="post" action="post.cgi">
Word Filter
<TEXTAREA rows="3" cols="40" name="user_text" style="border:2 solid #808080; font-family:
verdana, arial, helvetica; font-size:10pt" onclick="select_area()">Enter your text here...</TEXTAREA>
<INPUT type="button" style="background:#EFEFEF; border:2 solid #808080; width:100%; cursor:
pointer" value="Submit" onclick="validate_user_text();">
"Word Filter" is a type of form validator. When the user submits some text, the validator will check
the text for words that you want to be filtered.
The words that have to be filtered must be added to the array
swear_words_arr. When the user types the text and hits the submit button, if the text contains
any word that is present in the array swear_words_arr, the form will NOT
be submitted.
|