CodeIgniter Forums
Repopulate radio buttons - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter Archived (from EllisLab) (
+--- Forum: Archived Development & Programming (
+--- Thread: Repopulate radio buttons (/thread-44931.html)

Repopulate radio buttons - El Forum - 08-31-2011

Before sending this question I have been through the CI user guide but I have not found any answer.
I have a form with two radio buttons defined as follows :
    &lt;input type="radio" name="association" value="ou" checked="checked" /&gt;
    &lt;input type="radio" name="association" value="et" /&gt;
Only one of them is checked at a time. How can I repopulate them knowing that I have no validation rule associated ?
Many thanks for the answer.