Swear word filter ??

wxdqz

New Member
Hi, i ve made an swear word filter by using java for an form that subscribes to a guestbook...The problem is that by sending the form, it reconises the swear word but does not stop transmission to to the ".cgi"...So i ve find the error but i can resolve it. It's the sending button i've put an image for it ...
<input TYPE=image SRC=http://www.webdeveloper.com/forum/archive/index.php/"...add.gif"onclick="validate_comments();" BORDER=no>

but if I put this with an normal buton it works !!;O)
<input TYPE="button" style"....." onclick="validate_comments();" BORDER=no>

I want it with the image, don t know why it doesn t work, cause for me it s almost the same....

hop you can help me thanks

asch....
:confused:
 
Back
Top