These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

app alert for not equal

kenyonpeggy
Registered: Feb 16 2009
Posts: 13

I have constructed a form in lifecycle ES 8.2. The user enters the total number of academic hours in the course in a field at the top of the form named AH.

Then the user enters the number of lesson hours by type of instructional event in a column down the page. Each lesson hour field is labeled AH1, AH2, ...

The form totals lesson hours in a field called TOTALAH.

I would like to ensure the AH is equal to TOTALAH or alert the user to check the numbers.

I need help as I am not sure how to wait until the all the lesson hours are entered before I compare the two fields and determine if the message should be sent.

I am not a programmer.

Thanks

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Do you realize that the calculations are run each time any field used in a calculation is updated, so you may need a control to determine that validation script needs to run.

Have you looked at the 'Scripting Reference' under LiveCycle Designer's 'Help' menu uption?

if ( simple expression ) thenlist of expressionselseif ( simple expression ) thenlist of expressionselselist of expressionsendif

George Kaiser

kenyonpeggy
Registered: Feb 16 2009
Posts: 13
Thanks for the quick response. I will take a look at the scripting reference and see what I can do.