Re-populate Radio Buttons and Check Boxes
Posted on 2005-05-09
I use a web form to allow our customers to post Job Orders on our website. The web form uses text boxes, check boxes and radio buttons. I am going to write a CGI script that will allow users to go back and edit their existing Job Orders on the website.
My question is: I know how to re-populate the Text Boxes, but when it comes to Radio Buttons and Check Boxes, that is a whole new animal to me. Once I grab the values from my mySQL database, how do I re-populate the values for the Check Boxes and Radio Buttons? I have never tried to do this before.
Thanks everyone in advance for all of your help,