I have 3 fields defined in my XML file like so:
<field name="field1" type="radio" label="Field 1" class="btn-group" default="1">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="field2" type="radio" label="Field 2" class="btn-group" default="1">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="field3" type="radio" label="Field 3" class="btn-group" default="1">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
Now what I'd like to do is only show field3
if field1
and field2
are set to 1
.