chickadee » sxml-informal » radio

radio #!key value suffix label error checkedprocedure

This rule expands into a radio button element, followed by its label, wrapped in the element markup described under Input Element Rules. It accepts the following additional keyword arguments:

checked
determines whether the checkbox is checked. Default: #f
suffix
the suffix for this input's id attribute. Default: (conc "-" value)

The input element expansion is

   (input (@ (type "radio") (id <id>) (name <name>) (value <value>) [(checked "checked")]))