Copy repeater text value into a input field

But wouldn’t the need to input the data first?

Put the code below the submit button code.