bladergames
Programmer
I have 4 checkboxes. I want to sum their values together
All I can get is the values listing out, not adding up!
If they check 1 and 3, I'm getting a IntCat value of 13, not 4!!!! I will be more than happy to explain more, but I think this one is easy.
Page 1
Type=CheckBox Name=Category value="1" Checked>Process
Type=CheckBox Name=Category value="2" Checked>Equipment Type=CheckBox Name=Category value="4" >  New Model
Type=CheckBox Name=Category value="8" >  Other
Page2
For J=1 to Request.QueryString("category".Count
IntCat = IntCat + Request.QueryString("category"(J)
Next
i want my intcat to sum the values. It gives me a 13, not 4. I thought this was how to add them up! Thanks!!!
All I can get is the values listing out, not adding up!
If they check 1 and 3, I'm getting a IntCat value of 13, not 4!!!! I will be more than happy to explain more, but I think this one is easy.
Page 1
Type=CheckBox Name=Category value="1" Checked>Process
Type=CheckBox Name=Category value="2" Checked>Equipment Type=CheckBox Name=Category value="4" >  New Model
Type=CheckBox Name=Category value="8" >  Other
Page2
For J=1 to Request.QueryString("category".Count
IntCat = IntCat + Request.QueryString("category"(J)
Next
i want my intcat to sum the values. It gives me a 13, not 4. I thought this was how to add them up! Thanks!!!