Please help, I with javascript for a checkbox
I am using the script below but it only runs if I check and then uncheck the box. Obviously I want the script to run when I check the box. Also, I want the "Previous Employer Name" field to clear when the box is unchecked.
Any help would be appreciated.
if (event.target.value!="Yes") {
this.getField("Previous Employer Name").value = this.getField("Company NameRow1").valueAsString;
this.getField("Address 1_2").value = this.getField("Company AddressRow1").valueAsString;
}
