Lets say you have this..
<INPUT TYPE=RADIO VALUE=YES NAME=question1>
<INPUT TYPE=RADIO VALUE=YES NAME=question2>
<INPUT TYPE=RADIO VALUE=YES NAME=question3>
just do this..
if($question1){
print "<INPUT TYPE=HIDDEN NAME=question1 VALUE='$question1'>You answered $question1<BR>";
}else{
print "<INPUT TYPE=RADIO VALUE=YES NAME=question1>";
}
if($question2){
print "<INPUT TYPE=HIDDEN NAME=question2 VALUE='$question2'>You answered $question2<BR>";
}else{
print "<INPUT TYPE=RADIO VALUE=YES NAME=question2>";
}
if($question3){
print "<INPUT TYPE=HIDDEN NAME=question3 VALUE='$question3'>You answered $question3<BR>";
}else{
print "<INPUT TYPE=RADIO VALUE=YES NAME=question3>";
}
I didn't include all the FORM and text you'd really have, but im sure you get the idea.