I develop my own template for Joomla and i need to display more options if you set a value before.
For example:
after clicking on YES:
It would be nice if in the joomla core a solution like this:
<field name="field1" type="radio" class="btn-group" default="0" label="Deactivate Joomla JavaScript" >
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="field2" type="checkboxes" class="btn-group" default="0" label="Deactivate Joomla JavaScript" showif="field1::1">
<option value="0">Everything</option>
<option value="1">mootools-core.js</option>
<option value="2">mootools-more.js</option>
</field>
A new showif parameter with the value field1::1 . field1 is the previous field and number 1 is for value from the needed option to display this form field.