I have created a survey that gets populated by a datastore, Here is the code that generates it:
<div class="col-md-6 form-group">
<strong>Activities - please check off activites performed by you</strong>
<?php
CheckBoxList::create(array(
"name"=>"Please check off Activities performed.",
"dataStore"=>$this->dataStore("activity"),
"dataBind"=>""
));
?>
</div>
and here is the form it creates.
Instead of the checkbox, I'd like to use a radiobutton for each line that says yes no. Can I use a radio button that toggles yes/no for each line? Please show me how I would change the above code.