I am completely new to lifecycle and I am having difficulty with a form. It is a relatively simple form; however in the section of the form with a table for invoice items I am having some difficulty. The problem is: an expanding table to allow the end user to add a row for additional invoice items and then it calculates a total item and grand total for the invoice.
I would like to have the item number generated automatically 1,2,3,4, ect but right now it starts at 0 (I think that might defeat the purpose of numbering items). I think this is counting the instances? I am not sure =(
Sorry if I did not adhere to the proper forum etiquette, or if I posted in the wrong place. I dont really know the ins and outs of this whole thing and I could really use some help!!
Here is the scripting in the form:(I think I need to change the first one, but how!?!)
// This script displays the instance value of the row in this text field.
// Invoke the Instance Manager to add one instance of the detail subform.
//Invoke the recalculate method to include the field values from the added row in calculations.
// Invoke the Instance Manager to remove the current instance of the detail subform.
It's a great example of a dynamic table with various sums.