Copy input fields to other fields

I have a button with a function that I used in Dreamweaver to copy text from the first input box of a multi-update form and paste it into the rest of the input boxes of the other records. I’m trying to port it over into my page in Wappler and can’t get it to work. Can anyone give me help on what to do, or if there is an easier way in Wappler to do this? Thanks.

Here’s my function script -

and here’s my input code -

Community Page
Last updated: