Suggestion Form
<%@ Language=VBScript %>
<%
Option Explicit
%>
<%
dim strErrText, strAction
strAction = Request.QueryString("action")
Select Case strAction
Case "err1"
strErrText = "Error: No name input."
Case "err2"
strErrText = strErrText & "Error: No email input."
Case "err3"
strErrText = strErrText & "Error: No phone input."
Case "err4"
strErrText = strErrText & "Error: No message input."
End Select
%>
<%
if strAction > "" then
response.write strErrText
end if
%>
Please fill out the form and click submit. All fields are required.
|