Percentage calculation slow to display
I have a form with a lot of tables, some of which need to calculate percentages of dollar values. One such table has 5 fields for dollar amounts and 5 fields for percentages. There aren't fields within the table for the result of the calculations between the dollar amounts and percentages so I have created 5 hidden fields that do the calculations and then the 5 values in those fields are added together with a simple sum calculation. The total of that calculation is reflected in a Balance Sheet.
Below is the custom calculation script I'm using to calculate the dollar amounts and percentages.
event.value = this.getField("$Sch5.PrtnrshpLoan1").value * this.getField("Sch5.PrctOwned.0").value / 100.0;
The script seems to work fine and the total of the 5 hidden fields displays in the Balance Sheet correctly the first time. The problem comes if the user needs to go in and change one or more of the percentages. The Balance Sheet doesn't update the total to reflect the percentage change unless the user does something further along in the document.
I believe I read somewhere in a forum that there's a way to force a calculation to be immediate and thought I had made a note of it but I can't seem to find it now. Does anyone know what I'm talking about and can shed some light on what I need here?
Thanks!
ED