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

LiveCycle form calculation changes after saving and reopening

Avatar

Level 1

I created a calculated form in LiveCycle ES and the last three calculation fields are TOTAL, then Less Travel Advance (entered as a negative number), then BALANCE DUE which includes the previously mentioned calculation.  The BALANCE DUE field  shows the correct total when form is filled out.  You can Save As and save a copy of the form with the correct total, however, when you open the "saved copy" from your computer, the BALANCE DUE calculation does not include the Less Travel Advance amount any longer.  I have checked all the things I know to check, recreated the form from scratch, and deleted the fields and added them back in all to no avail of correcting this issue.  Does anyone have any suggestions???  PLEASE!

1 Reply

Avatar

Level 4

Try putting this code in the subform root level of the calculated field in the FormReady event - JavaScript

var oList = this.getDeltas ();

for (i=0; i < oList.length; i ++)

{

   var oDelta = oList.item(i);

   oDelta.restore ();

}