How can I add a Message box if the calculations do not match?

I develop a form where the user entered a amount field Amt, then distributes that amount to up to six 'finance' fields (Budget1, Budget2, Budget3...), that determine the money will come from. I've created a field of verification screen only (AmtVerif) that allows the user to see if the divided funds add up to the total shown on Amt.

I want to AmtVerif to:

1 Add amounts in Budget 1-6 fields (that I managed to do by using FormCalc)

2 match the total with the value given on Amt

3 pop-up - a error message that says: 'You went out of the total', or 'Please check the assignment of funds' total case do not match.

I tried to use 'if' with FormCalc expressions in post them and the events of output, and even if they appear to be correct, they do not show the error message. What I am doing wrong? Help, please!

Debora

Please see the attached pdf file. script placed on each output field amount only when all the entries.

Tags: Adobe LiveCycle

Similar Questions

Maybe you are looking for