Hey guys, got another one for ya.

I have a form with the form element values being populated dynamically by fields in a database table. In this form there are some select elements and radio elements. How would I have the select element select the appropriate option based on the table when the page loads. The same for the radio element.