Skip to main content
Participant
October 16, 2008
Question

Multiple Radio Buttons

  • October 16, 2008
  • 1 reply
  • 313 views
I have a form with multiple radio button. In fact there 7 radio button, they all capture different values, they are not in an array. At least on of the Radion Button is required, but accept more than one. I would appreciate your help on this.
This topic has been closed for replies.

1 reply

Inspiring
October 16, 2008
>> At least on of the
>> Radion Button is required, but accept more than one.

use checkboxes, each with a different value (i.e. value="option1") but
with the same field name attribute (i.e. name="mycheckbox")
and require at least one by checking to see if there is any value at all
in that field
(a blank checkbox passes no value at all)

by nature, radio buttons are one-at-a-time


Michael Evangelista, Evangelista Design
Web : www.mredesign.com Blog : www.miuaiga.com
Developer Newsgroups: news://forums.mredesign.com


rudocast wrote:
> I have a form with multiple radio button. In fact there 7 radio button, they
> all capture different values, they are not in an array. At least on of the
> Radion Button is required, but accept more than one. I would appreciate your
> help on this.
>