Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

LiveCycle ES3: need 3 fields to match before saving or printing form

$
0
0

Hi!

I have a form that contains different numfields that need to match before the user should be able to save or print the document.

 

These are the fields that the user have to fill in:

A = Total sum of people (one field) should be equal to the sum of B-H and I-O.

B-H = Seven different fields (in a group) where the sum of all seven fields should be equal to A (and the sum of I-O)

I-O = Seven different fields (in a group) where the sum of all seven fields should be equal to A (and the sum of B-H)

All fields are Numeric Fields and User Entered - Required

 

When these fields do not match I want a messagebox to popup with that info and when Ok button is pressed it should return to the form again.

If the fields match no messagebox should popup and the document should continue to save (or print).

This means that you can't compare the fields until the user want to save or print the form...

 

I use Formcalc in Livecycle and I it would be nice if someone can help med with the code!

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 5571

Trending Articles