I have a process for reporting overtime hours for a group of employees. On the initial form, the requestor enters employee information in table rows including the estimated number of hours to be worked. The table then routes to the timekeeper, who enters the actual number of hours worked. There is a formula in the Hours Earned field that calculates the hours earned for each date depending on whether the time is overtime or comp time (multiplier of 1.5) or straight time (multiplier of 1). It works beautifully.
The problem is that if I delete a row (the employee ended up not working, for example) and try to submit the form, I get a "Laserfiche Forms has encountered a problem...LFF1000-InvalidExpression" message. Initially I thought there might actually be an issue with the formula, but then I changed it to a very simple formula and got the same result.
Hours earned formula currently in table:
=IF(INDEX(Group_OT_Details_Array.OT_Type_Array,ROW())="StraightTimeA",MULT(INDEX(Group_OT_Details_Array.OT_Hours_Worked_Array,ROW()), 1),MULT(INDEX(Group_OT_Details_Array.OT_Hours_Worked_Array,ROW()), 1.5))
Simple formula experiment:
SUM(INDEX(Group_OT_Details_Array.OT_Hours_Est_Array,ROW()),INDEX(Group_OT_Details_Array.OT_Hours_Worked_Array,ROW()))
Any ideas appreciated!