[eluser]Marcky[/eluser]
Hi guys,
after some research over here, I haven't found a solution yet for this issue.
I'm using the form helper and the form validation class. Validation and repopulating data works fine except with radio buttons.
Here's the code:
Code:
echo form_radio('fieldname', 'value1', set_radio('fieldname', 'value1', TRUE);
echo form_radio('fieldname', 'value2', set_radio('fieldname', 'value2');
I've read several threads mixing the classic html radio codes with set_radio, but i'd like to keep using the form helper. Even tried to set a validation rule for this buttons but this has no effect either.
I'm also var_dumping $post and it never shows any selection of radio buttons but the text inputs appear perfectly. Any ideas?
Thanks!