02-06-2010, 03:24 PM
[eluser]Warz[/eluser]
Hello,
I'm trying to create a form with radio buttons and make it keep the different options checked if validation fails...
That works... but is it possible to somehow combine form_radio and set_radio?
Hello,
I'm trying to create a form with radio buttons and make it keep the different options checked if validation fails...
Code:
<?php echo '<input type="radio" name="answer'.$item->id.'" value="option1" '.set_radio('answer'.$item->id.'', 'option1').' /> '.$item->answer1.''?>
That works... but is it possible to somehow combine form_radio and set_radio?