I have a PHP form that picks up data from the data base based on query. This form has 8 fields that are populated. There are two other fields ( comment , status ) that needs to be filled in once this form is updated. What I need is that once an updated button is clicked and a radio button selected a new form needs to pop up with pre populated fields corresponding to the row selected, and this form will have two empty fields ( comment and status ) that will be updated. How can I do this? Thanks for the help.