Forums

ASP

This topic is locked

Tick Boxes on Forms

Posted 06 Dec 2002 16:38:53
1
has voted
06 Dec 2002 16:38:53 Lee Smith posted:
I would like the user to click on a Tick box that records a value to 2 different fields in a database. The code that I have been trying is as follows, but it doesn't work.

If Request.Form("rejected" = "Yes" Then
Request.Form("Status" = "Rejected"
End If

Is there another way of doing this. I need to have the two different fields as is is part of a three stage Customer Complaints section.

Thanks in advance for any help



Lee Smith

Replies

Replied 09 Dec 2002 15:09:51
09 Dec 2002 15:09:51 Dave Blohm replied:
<%
If Request.Form("rejected" = "Yes" Then
varStatus = "Rejected"
End IF
%>

Don't try to assign a value to the Request.Form...

Doc
Rangewalk Digital Studios

Reply to this topic