Thank you NeuX, that worked perfectly.
Now can I ask you one more thing? I have a check box on my form that when you check it and them submit the form, if for some reason, the submission fails because other required fields are left blank, I still want the check box to be checked.
This is what I have:
<?
if ($_POST['AUP_TOS_Accepted']=="yes"){$AUP = "$checked";}
?>
<input name="AUP_TOS_Accepted" type="checkbox" value="yes" <? echo $AUP;?>>
I have radio buttons that do this, but I can't seem to get the checkboxes right.
Can you help?
Thanks