/ Id-Extras Forum / subtraction of two fields / Reply To: subtraction of two fields
May 11, 2021 at 8:52 pm
#6387
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