Code:
<?xml version="1.0" encoding="utf-8"?>
<options>
<option option_id="r9exampleExcludeForums" edit_format="callback" data_type="array">
<default_value>[]</default_value>
<edit_format_params>\XF\Option\Forum::renderSelectMultiple</edit_format_params>
<sub_options>*</sub_options>
<relation group_id="r9_example" display_order="1"/>
</option>
<option option_id=" r9example IncludeForums" edit_format="callback" data_type="array">
<default_value>[]</default_value>
<edit_format_params>\XF\Option\Forum::renderSelectMultiple</edit_format_params>
<sub_options>*</sub_options>
<relation group_id="r9_example" display_order="1"/>
</option>
</options>
I have two option fields to choose forums to include or exclude;
I want to use them with a radio button to use exclude or include only.
I have seen this in widget options as template-code, but how can i do that here, please?