ASP and checkboxes

NiKeFiDO

Diamond Member
May 21, 2004
3,901
1
76
so here is my code (see attached)
whenever i try to run this, i get the error:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''
/9906test2.asp, line 23

I googled this code and got some generic answers, obviously it's not really a specific error...

anyway, line 23 is my If statement..after messing around, i realize that it doesn't like the
"Checkbox1.Checked" part..

why would that cause the error? am I suppost to request.Form(Checkbox1) or something?
I've tried so many things and this among other errors caused me to fail a test today as I couldnt figure the errors out!!!!!! >:eek:

this if statement is found in the first case (and when it works will also be added to all the other ones, i just want the if statement to work!)

thanks
 

NiKeFiDO

Diamond Member
May 21, 2004
3,901
1
76
argh..im gonna host these real quick...
the checkbox1 is in the html page this asp page is linked to.....
 

torpid

Lifer
Sep 14, 2003
11,631
11
76
We were probably too lazy to help someone who is too lazy to name their variables something other than X and Y.