OK, I am using PHP to process a form. If any required fields were left blank, it shows the form again with the titles of the fields in red letters. For the input boxes, I just put <...value="<?php echo $fieldname?>"> and it works fine. Is there any way to do that for select lists and checkboxes, so the person doesn't have to reselect everything? Thanks!

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by terium:OK, I am using PHP to process a form. If any required fields were left blank, it shows the form again with the titles of the fields in red letters. For the input boxes, I just put <...value="<?php echo $fieldname?>"> and it works fine. Is there any way to do that for select lists and checkboxes, so the person doesn't have to reselect everything? Thanks![/quote]