radio

   Usages of this macro
... in utilities.naml
361
362
363
364
365
366
<macro name="radio" requires="field" parameters="id,option_value">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.value
Binary
Namespace: FieldNamespace
/]" value2="[n.option_value/]">
        <then><input type="radio" id="[n.id/]" name="[n.name
Binary
Namespace: FieldNamespace
/]" value="[n.option_value/]" checked="true"/></then>
        <else><input type="radio" id="[n.id/]" name="[n.name
Binary
Namespace: FieldNamespace
/]" value="[n.option_value/]" /></else>
    </n.if.equal>
</macro>