[eluser]Wonder Woman[/eluser]
It works perfectly apart from my radio buttons! When I submit the form, they're not repopulating

I have checked in my controller and they're getting the value...I just don't know what has gone wrong...
view:
Code:
form_label('Joint application?:');
form_radio('joint_application', '1', set_radio('joint_application', '1', FALSE), 'class="joint_application"').' Yes';
form_radio('joint_application', '2', set_radio('joint_application', '2', TRUE), 'class="joint_application"').' No';