Hello Adrienne. Yes that is correct, I believe my question is:
How do I loop through the form elements to find out which item is checked?
So for example my form would look like so:
grp1: rb1, rb1,rb1,rb1,rb1 (each with different values)
grp2: rb2, rb2,rb2,rb2,rb2
etc...
So if a user clicks gr1:rb1 (the second button), I need to see which one was
checked and then extract the value for that button.
I hope this makes sense.
Thanks again for the reply.
"Adrienne Boswell" <> wrote in message
news:Xns9BE95679B26EDarbpenyahoocom@207.115.33.102 ...
> Gazing into my crystal ball I observed "Erin Gray"
> <> writing in
> news:#:
>
>> I posted this in another forum (I believe was incorrect). Sorry for
>> multiple post.
>>
>> I have an html form with 30 buttons on it. Setup like so:
>>
>> grp1, radiobutton1 (5 of these)
>> grp2: radiobutton2 (5 of these)
>> and so on to grp6 ...
>>
>> I am submitting it to an asp page and would like to process them in
>> some kind of loop, by grpX then radiobuttonX
>>
>> But I don't know how (collection?) to access them.
>>
>> There are lots of great sites that show how to process a form by an
>> item name which I can do, but the code is unwieldy.
>>
>> Any help is appreciated.
>>
>> ps: If this is the wrong forum, please let me know where to post.
>>
>> Thanks to all Erin.
>> ------=_NextPart_000_000A_01C9B99E.47CF2960
>
> <snip HTML - please do not post in HTML in Usenet>
>
> If I am reading your post correctly, you have six groups of five _radio_
> buttons. Each group can only have _one_ button checked, so you are only
> having to go through six items.
>
> If you are talking about checkboxes, then you will still be getting six
> arrays back, so again, only having to deal with six items.
> --
> Adrienne Boswell at Home
> Arbpen Web Site Design Services
> http://www.cavalcade-of-coding.info
> Please respond to the group so others can share
>
>