Hello! The way that you specifiy in HTML which radio button is selected, or if a checkbox is checked is with a "SELECTED" command in the input tag, so I tend to us a function like this:
radio buttons:
function isselected($checkValue, $trueValue) {
$tagPrint = "VALUE=$checkValue";
if($checkValue == $trueValue)
$tagPrint .= " SELECTED";
return $tagPrint;
}
<INPUT TYPE=radio NAME=radioName <?isselected(radio1,$radioName);?> >
<INPUT TYPE=radio NAME=radioName <?isselected(radio2,$radioName);?> >
etc.
For CheckBoxes:
<INPUT TYPE=checkbox NAME=checkName <?if (isset($checkName)) print "SELECTED";?>>
PS- Make sure that if you are redirecting back to this page that you ensure that $checkName and $radioName get passed back to it (with cookies or session vars or whatever you choose to do)
~Jason