• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multiple Radio Buttons

New Here ,
Oct 16, 2008 Oct 16, 2008

Copy link to clipboard

Copied

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.
TOPICS
Advanced techniques

Views

289

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 16, 2008 Oct 16, 2008

Copy link to clipboard

Copied

LATEST
>> 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.
>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation