Skip to main content
Participating Frequently
May 3, 2017
Frage

Calculating javascript in a textfield

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?

Dieses Thema wurde für Antworten geschlossen.

10 Antworten

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.