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

#6387
~~Ariel~~
Participant

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

Code:
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:

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