Ask a Question related to ASP Database, Design and Development.
-
Lyn #1
Check to see if Check Boxes are Checked
How do I check to see if a checked box is check on the
following page?
This is what I have. What am I doing wrong?
<%If Request("chkDirection") = 1 Then
Response.Write "True" & Request("PssWrd")
Else
Response.Write "False" & Request("chkDirection") &
Request("PssWrd")
End If%>
chkDirection is a check box from a previous page.
Thank You in Advance
Lyn
Lyn Guest
-
Check boxes in Dreamweaver/PHP
I have a MySql database, using PHP and able to display the database in a form. What I need to do is for the user to be able to click on the check... -
Check Boxes
Fmpro 5.5 Windows XP pro I have a number field set up as a checkboxes, numbered from 11 to 18. I had a script that used to check all the boxes... -
P. S. re check boxes
I can only export this in a filtered web page. That's the only option I am given. If these alignment problems are due to that aspect, how do I... -
Check In all Checked Out files (k)
Just started using the check in/out feature. I had a change to a template which changed all the files in the site. I then synched it up with the... -
check boxes,opps
I want a form that has 3 check boxes more than one can be choosen field X in my table will have the data like a form asks your name, age... -
Ray at #2
Re: Check to see if Check Boxes are Checked
What's the value of the checkbox on the form?
<input type="checkbox" name="chkDirection" value="theValue">
<%
If Request.Form("chkDirection") <> "" Then
Response.Write "True"
End If
%>
<%
If Request.Form("chkDirection") = "theValue" Then
Response.Write "True"
End If
%>
Either of those will work.
Ray at work
"Lyn" <ftbcoaches@aol.com> wrote in message
news:09d201c3c331$c1911330$a501280a@phx.gbl...> How do I check to see if a checked box is check on the
> following page?
>
> This is what I have. What am I doing wrong?
>
> <%If Request("chkDirection") = 1 Then
>
> Response.Write "True" & Request("PssWrd")
> Else
> Response.Write "False" & Request("chkDirection") &
> Request("PssWrd")
> End If%>
>
> chkDirection is a check box from a previous page.
>
> Thank You in Advance
>
> Lyn
>
>
>
>
Ray at Guest
-
McKirahan #3
Re: Check to see if Check Boxes are Checked
"Lyn" <ftbcoaches@aol.com> wrote in message
news:09d201c3c331$c1911330$a501280a@phx.gbl...> How do I check to see if a checked box is check on the
> following page?
>
> This is what I have. What am I doing wrong?
>
> <%If Request("chkDirection") = 1 Then
>
> Response.Write "True" & Request("PssWrd")
> Else
> Response.Write "False" & Request("chkDirection") &
> Request("PssWrd")
> End If%>
>
> chkDirection is a check box from a previous page.
>
> Thank You in Advance
>
> Lyn
Please don't post in mutiple newsgroups as you did.
You're answer is already in "microsoft.public.scripting.vbscript".
McKirahan Guest



Reply With Quote

