on change to iput field code example
Example: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}