Description

Creates a radio button

Usage

as element:
<content:radio
       label="{string}"
       field="{string}"
       value="{string}">
</content:radio>

Parameters

ParamTypeDetails
labelstringThe label for the textarea
fieldstringThe name of the field.
valuestringThe value of the field when selected

Example

Source

<h3 id="example_stacked">Stacked</h3>
<content:form styling="form-stacked">
    <content:radio label="Test" field="test" value="tested"></content:radio>
    <content:radio label="Do not test" field="test" value="untested"></content:radio>
</content:form>

Result

Result