On Submit Javscript Events Copy the Value of another Input . Copy the value another Input see on Submit Javascript
#Javascript_Statment
#Javascript_Duplicate_Value
#Another_Input
function duplicate(){
let x = document.getElementById('firstvalue');
let y = document.getElementById('secondvalue');
y.value = x.value;
}