Author: Rusty Klophaus (@rustyio)

# Radio Element

Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | About

## Table of Contents

- 1 Radio Group Element - #radiogroup {}

## 1 Radio Group Element - #radiogroup {}

The radio group element automatically groups it's radio button members into the same radio button group by applying the same HTML `name` to each radio contained within.

Note: Currently, this will not do a "deep dive" for the radio buttons, but assumes a flattened list containing the radio buttons.

### Usage

    #radiogroup { id=fruit, body= [
       #radio { text="Apple", value="apple", checked=true },
       #radio { text="Orange", value="orange" },
       #radio { text="Banana", value="banana" }
    ]}.

### Attributes

body - (string)
  The contents of the radio group. Recommended to be a list of radio buttons, but it will not search the contents of child elements containing their own `body` attributes. So be aware. It's recommended to just be a list of `#radio{}` elements, separated by `#br{}` or `#p{}` elements.

### See Also

- base
- radio
- Button
- Link
- Textbox
- Password
- Textarea
- Dropdown
- Dropdown Option
- RESTful element overview

Date: 2012-10-18 03:24:51 CDT

Author: Rusty Klophaus (@rustyio)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0

## Comments

Note:To specify code blocks, just use the generic code block syntax:

    <pre><code>your code here</code></pre>

comments powered by Disqus