Use this code in a field to display the aggregate total of all the records in the form for the specified field:
function getFieldTotal() {
var field_id = 'fld.....'; // whatever the field ID is for the field you want the total of.
var total = form.getTotalOfField(field_id);
return total;
}
getFieldTotal();
Apple, the Apple logo, iPad, iPhone, and iPod touch are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc.