<%
Form_Name = Trim(Request.Form("discription")
Validated_Form = true
IF InStr(Form_discription,"badword1,badword2"=1 THEN
Validated_Form = false
END IF
IF NOT Validated_Form THEN
%>
<HTML>
<BODY>
Click back in your browser, and fill it out properly!
</HTML>
</BODY>
<%
ELSE
I have code in here that submits to a database and asp email but this works ok....%>
<%
end if
%>
Form_Name = Trim(Request.Form("discription")
Validated_Form = true
IF InStr(Form_discription,"badword1,badword2"=1 THEN
Validated_Form = false
END IF
IF NOT Validated_Form THEN
%>
<HTML>
<BODY>
Click back in your browser, and fill it out properly!
</HTML>
</BODY>
<%
ELSE
I have code in here that submits to a database and asp email but this works ok....%>
<%
end if
%>