Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.");