javascript help
Hello my friends,
I'm hoping someone can help me with a javascript i'm trying to write on a form i'm creating. The field "4a" is someone's last name they will input. Once they put there last name in this field i want it to populate exactly as they type it to another field "a14a11". I don't know the correct terminology in my coding to make this happen. Below is what i've come up with and it does not work. Any assistance would be greatly appreciated.
var theField = this.getField("4a");
var theValue = theField.value;
if (+theValue > .01) {
this.getField("a14a11").value= (+theValue);
}
else {
this.getField("a14a11").value=(+theValue);
}
