javascripts to copy multiple text fields and paste to other text fields with buttons
I am looking for a javascript to copy a row of text fields with a button and then paste that into other text fields with a different button. I was thinking of having 2 buttons at the end of the row, labeled C (for copy) and P (for paste). I would like the C button to copy all the text fields in that row and then click on the P button and paste the text value into that respective row. I just have no clue what to put for the javascripts.
Below are two images. The first image shows what the first 3 rows would look like if they were filled out by users and the second image shows all the fields on the page. I didn't add the buttons at the end of each row yet because I wanted to figure out the scripts first before making a bunch of buttons.
If anyone has any ideas for javascripts, I'm all ears. Thank you!


