[eluser]GSV Sleeper Service[/eluser]
am I missing something here? what's the best method for re-populating radio buttons?
set_radio() is incompatible with form_radio() - set_radio() returns a string, form_radio() is expecting a boolean for the checked state.
set_radio() will only work if you've added your radio button to the form_validation rules, what if I don't need the radio button validated? I should still be able to repopulate the radio buttons from the _POST array.
taking a closer look at form_helper.php, I think this line below is where the problem lies
Code:
...
if ($OBJ === FALSE) //if you're using form_validation, you're screwed at this point if you haven't added your radio button to the validation rules
so, it seems it's 'all or nothing' when it comes to using the form_validation class.