/ Id-Extras Forum / subtraction of two fields / Reply To: subtraction of two fields


Thanks for posting the form.
Ok, so it’s a simple mistake, easy to make.
Your script is:

event.value = this.getField(“Field45”).value – this.getField(“Field75”).value

But the names of the fields in question are actually “Text Field 45” and “Text Field 75”, respectively. So the script should look like this:

event.value = this.getField(“Text Field 45”).value – this.getField(“Text Field 75”).value