[thelist] ASP and checkboxes

Kevin Stevens kjs at ratking.co.uk
Fri Oct 7 10:42:47 CDT 2005

Afternoon all
                  I am having a problem with a form that should, I think, be 
easy but I cannot work out the solution. I have a table row with the 
following code...

<td width="40" align="center"><input type="checkbox" name="I_want_to_order" 
<td width="50"><span class="text1">HB-01</span></td>
<td><span class="text1">2 Perry Road, Witham</span></td>
<td width="250" align="right"><select size="1" name="hb01">
<option selected>Please choose quantity

and after that, several more rows exactly the same but called HB-02, HB-03 
etc. Using the post method I want to send the details of any ticked boxes to 
an ASP page that sends an e-mail, but it is printing out everything, whether 
the box is ticked or not. I'm sure I need some kind of loop that only 
e-mails details of the ticked boxes but I can't figure out exactly how to do 
it. Can anyone provide me with any pointers?


Kevin Stevens
kjs at ratking.co.uk 

More information about the thelist mailing list