Here is the code:
this.getField("TotalMMMNA").value = this.getField("Court").value + this.getField("ES").value + 1967;
It is supposed to add these three values. Anytime I add something to the ES value field, it adds it to the end of 1967. Am I missing something?
his.getField("TotalMMMNA").value = +this.getField("Court").value + +this.getField("ES").value + 1967;
The unary + operator will convert an empty string to zero. If this is a custom calculation script for the TotalMMMNA field, the script would be:
event.value = +this.getField("Court").value + +this.getField("ES").value + 1967;
Thank you very much!