Skip to main content
Participating Frequently
May 3, 2017
Question

Calculating javascript in a textfield

  • May 3, 2017
  • 1 reply
  • 877 views

I need to perform a calculation in a textfield with booth addition and subtraction. Add two previous textfields and subtract another textfield.What does that looks like in javascript?

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
May 3, 2017

You can use the simplified field notation:

fieldA + fieldB - fieldC

Participating Frequently
May 3, 2017

Thank you but it doesnt work for me. Is it field name or functionname I shall use?

Bernd Alheit
Community Expert
Community Expert
May 3, 2017

You must use the names of your fields.