Copy Field Contents to another field with if statement.
I have a Button that on click populates a Package one of the the JS that I am using is causing me headaches though.
I have an if statement that checks if a radio button value then depending on the value is supposed to copy the value of a hidden field containing multiple lines of text to another field. Unfortunately the button click sets the value of the Field to object Field.
if (this.getField("Pac.Comp").value == "DMV") {
this.getField("Form.PG5Remarks2").value = this.getField("PG5StatementFem").value};
Form.PG5Remarks has the "object Field" instead of the statement.
Thanks for any assistance.
