CodeIgniter Forums

Full Version: Repopulate radio buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]caperquy[/eluser]
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 :
Code:
<ul>
  <li>
    &lt;input type="radio" name="association" value="ou" checked="checked" /&gt;
  </li>
  <li>
    &lt;input type="radio" name="association" value="et" /&gt;
  </li>
</ul>
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.
Regards