Hi. All the archive posts on radio buttons were more complex than what I have here so I am asking directly.
I have a form that is a test. On submit, it writes a MYSQL record and sends an email with the mail function. I have editing on the fields so it is necessary to maintain the values as the form is redisplayed with error messages. The text boxes are good with the <?php echo $name?>.
My questions are True or False as well as muliple choice and are radio buttons.
I had them originally as follows and this was good for the write to file and the email but I am loosing the checked value when the form redisplays:
Question 1
<input type="Radio" name = "Quest01" Value="True">True
<input type="Radio" name = "Quest01" Value="True">False
I am passing $Quest01 to server and email.
Is there an easy way to preserve the values like you can do with a text box?
Thanks,
Melissa