radio.formwidget
A
<radio class="formwidget"
only returns input when it's selected. When harvesting,
if the radiobutton has no value, the label's value is used.
When seeding, if the element has no label, the label
of the matching value is used, otherwise it is ignored.
As an alternative to lots of radiobuttons with similar names
in a plain radiogroup, you can use a
radiogroup.formwidget.
see
menuitems
for
<menuitem type="radio"
Example:
;
result:
seed: r1/yes/one
cgi:r1=yes
Additional Attributes:
name
The name of the widget. Used as the name of the variable in CGI
-
onvalidate
pseudo event handler. should point to a method to execute
for validation. when validating, the method will receive a bucket
with a single seed in it, reflecting the name, value and label of this
element.
Additional Methods: