Review Method

オフライン
I want to write a code get the value enter by user in the field one to get that value in the field two on cilck of button.Check below code..   document.getElementsByName("field_one").value=""; var fieldtwo = document.getElementsByName("field_one").value; handleItemChange("field_two",document.getElementsByName("field_one").value);
  • Hi Mily, Just to confirm I understand your question: You want the user to enter a value in Field A, click a button, and have the same value appear in Field B? If that is the case, you can do something like this in an onClick event on the button field:
    var a = getFieldByName("Field A").getElementsByTagName("input")[0];
    var b = getFieldByName("Field B").getElementsByTagName("input")[0];
    b.value = a.value;
    Eli
    Eli Donahue Aras Labs Software Engineer