devine
06-14-2006, 03:11 PM
Hi All,
I have a validation page for a form.
One of the fields is a drop-down list, where the default option is "Please select from list"
My validation code is:
<% IF Request.Form("Summary") <> "" AND Request.Form("Details") <> "" AND Request.Form("Rep") <> "Please Select From list" THEN
and form is validated.
But I don't think this is correct: Request.Form("Rep") <> "Please Select From list" THEN
What I'm trying to achvieve is if "Please Select From list" is passed, this is not valid, so I need the code for
Request.Form("Rep") = "Anthing other than Please Select From list" is valid.
As usual, your guidance is very appreciated!
Lynn
I have a validation page for a form.
One of the fields is a drop-down list, where the default option is "Please select from list"
My validation code is:
<% IF Request.Form("Summary") <> "" AND Request.Form("Details") <> "" AND Request.Form("Rep") <> "Please Select From list" THEN
and form is validated.
But I don't think this is correct: Request.Form("Rep") <> "Please Select From list" THEN
What I'm trying to achvieve is if "Please Select From list" is passed, this is not valid, so I need the code for
Request.Form("Rep") = "Anthing other than Please Select From list" is valid.
As usual, your guidance is very appreciated!
Lynn