Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Script for Matching Totals

Avatar

Level 1

I created a form in Adobe LiveCyle Designer that has a field where a number is entered manually and another field that is calculated.  Is there anyway to create an error message if the manually entered amount does not match the calculated amount?

1 Accepted Solution

Avatar

Correct answer by
Level 7

Presuming that the fields are called nfCalculated and nfManual.


if (nfCalculated.rawValue != nfManual.rawValue) xfa.host.messageBox("The calculated value does not match the manually entered value.");


View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

Presuming that the fields are called nfCalculated and nfManual.


if (nfCalculated.rawValue != nfManual.rawValue) xfa.host.messageBox("The calculated value does not match the manually entered value.");