If Exists in ASP

Hi All,

Is there a way in ASP that I can say:  If Request.Form("xxx") Exists THEN...

Many thanks
powellt77Asked:
Who is Participating?
 
Wayne BarronConnect With a Mentor Author, Web DeveloperCommented:
Here is a quick example.

<%
if request.form("Field1")="" then
response.write "Please fill in this Field 1"
end if

if request.form("Field1")<>"" then
response.write"Thank you for your input"
End if
%>

Open in new window


Carrzkiss
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.