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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Script for Matching Totals

marciaj47226198
Level 1
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
jasotastic81
Correct answer by
Level 7
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
jasotastic81
Correct answer by
Level 7
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