radiogroup.formwidget
The <radiogroup class="formwidget"
holds the name, the selectedItem holds the value
and label. If the selectedItem has no value, it's label
is used. You should use plain radiobuttons.
When seeded, the radiogroup matches any seed with the same name
.
It searches for a radiobutton with the same value
as the
matching seed and selects that. If none is found,
it dynamically adds a new, disabled radiobutton with that value and label.
Example:
result:
seed: guru/jackass/jackass
cgi: guru=jackass
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 of the radiogroup and
the value and label of the selected element.
Additional Methods: