Posted by Gary Hasler on 12/08/06 21:56
Jerim79 wrote:
> ...What I am attempting to do, is make
> is so that if the customer chooses YES on a radio button and the form
> is submitted,; ifthey are sent back to the form to correct an error,
> the radio button YES is still checked...
AFAIR you have to use a condition to write "checked" into the tag if the
submitted value for the radio button group matches this button's value:
eg
<input type="radio" name="whatever" value="Yes"
<?php if ($whatever.value=="Yes") echo " checked";?>
>
(I hope I got that right; working from memory!)
[Back to original message]
|