[eluser]nevsie[/eluser]
I have a simple radio group of three options "yes", "no" and "maybe"
Code:
echo form_radio('radiogroup', 'Yes', $radiogroup_value, 'class="radio"');
echo form_radio('radiogroup', 'No', $radiogroup_value, 'class="radio"');
echo form_radio('radiogroup', 'Maybe', $radiogroup_value, 'class="radio"');
I was under the impression that as with select box the $radiogroup_value would be checked against the value for that field and then evaluate it as true or false and display checked/selected accordingly...
But this is not playing or doing anything...
Any advice appreciated or do i need to check and validate this myself and display in the field accordingly.