Skip to main content
Participating Frequently
May 3, 2017 9:18 AM UTC
Question

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

Bernd Alheit
Community Expert
Community Expert
May 3, 2017 9:56 AM UTC

You can use the simplified field notation:

fieldA + fieldB - fieldC

Translate
Participating Frequently
May 3, 2017 10:16 AM UTC

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

Translate
Bernd Alheit
Community Expert
Community Expert
May 3, 2017 10:35 AM UTC

You must use the names of your fields.

Translate