Why am I getting this error???
function Overallrating() {
var amt = this.getField("txt5).value;
if (amt > 10.5){
this.getField("Text2").value = "EXCEPTIONAL";
}else if (amt < 11.00 && amt > 8.5){
this.getField("Text2").value = "EXCEEDS";
}else if (amt < 9.00 && amt > 6.5){
this.getField("Text2").value = "IMPROVEMENT NEEDED";
}else if (amt < 7.00 && amt > 4.50){
this.getField("Text2").value = "UNSATISFACTORY";
}else if (amt < 5.00 && amt > 2.00)
}
you wrote
var amt=this.getField("txt5).value;
you need " at the end of txt5. correct to:
var amt=this.getField("txt5").value;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.