Radio

Radio button for single-choice selection within a named group.

Radio Group

Disabled

Select an option to see output...
PHP

PHP PHP Methods (Fluent)

Method / PropertyParametersDescription
$m->radio($id)stringCreate a radio button component.
->name($name)stringForm group name (all radios in a group share the same name).
->value($value)stringValue submitted when selected.
->checked($checked)boolSet selected state (default: true).
->disabled($disabled)boolDisable the radio button.
->required($req)boolMark as required.
->label($label)stringLabel text beside the radio button.