Copy link to clipboard
Copied
where they enter data in 3 fields and it calculates an answer and displays it in Field4. So... the calculation would be Field1 x Field2 x Field3 / 100 but I don't know what the javascript formula should look like. Can someone help me out please? Thanks in advance!
If you use the simplified field notation option, you can enter the calculation almost exactly like you just did:
Field1 * Field2 * Field3 / 100
But if the field names include certain characters such as spaces and punctuation, each such character would have to be escaped by a backslash character.
The JavaScript is more flexible since you can do things like suppress the output if one or more of the input fields are blank and do rounding.
Copy link to clipboard
Copied
If you use the simplified field notation option, you can enter the calculation almost exactly like you just did:
Field1 * Field2 * Field3 / 100
But if the field names include certain characters such as spaces and punctuation, each such character would have to be escaped by a backslash character.
The JavaScript is more flexible since you can do things like suppress the output if one or more of the input fields are blank and do rounding.
Copy link to clipboard
Copied
Thanks so much! I was using x instead of * ... silly me!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now