display selected information from table to a form

i created a admin page with a table to display all submitted forms. now i want to add a button so that when i select one of the data from the table and click a button it ill display the selected data to a form.

can someone help me how to do that?