I have a field named 'sponsored page' that is checkbox field type in my cms.
Checked Value is Yes
Unchecked Value is No
The default value is Unchecked.
I would like to use bootstrap toggle radio buttons to select whether sponsored links are shown/not shown on a list page.
Below is what I have so far. The toogle buttons are displaying, but currently they do not have any affect when selected
<form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>">
<div class="btn-group marginBottom" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="sponsored_page" id="option1" value="1" autocomplete="off" checked>
Show sponsored pages </label>
<label class="btn btn-default ">
<input type="radio" name="options" id="option2" value="0" autocomplete="off">
Hide sponsored pages </label>
</div>
</form>
Jeff