I'm not sure where to ask this question, because I think it may involve some javascript. Basically I have a PHP script that brings data into a form. I have the data come from an ODBC data source, and I have that data show below an input field. I would like to have a button for each input field, that would copy this data into the input field, if the user chooses. Right now, if the user would like to keep the data the same, they highlight the data below the input field, and paste it in. A button that does this for them would be even quicker.
The reason I would not like the data to appear in the input field by default, is because it will most likely be changed, and this will also reduce the error that the user would simply overlook fields that need to be changed.
The data in the input fields then populate a MySQL database.