I am using InfoPath 2010. In the browser enabled form, i have a repeating table and have some rules set.
When the number of rows inserted is more than 13, i am getting the below error:
"Default values, rules or code may be running in an Infinite loop. To prevent this, ensure that the default value, rule action or event handler does not update the data which causes the same rule action or event handler to execute".
In the 14 root log, i am getting the below: 03/07/2012 12:50:52.15 w3wp.exe (0x277C) 0x2C98 InfoPath Forms Services Runtime - Business Logic 82lj Critical Calculations exceeded the maximum stack depth.
Further analysis on the form:
I have a column, which has the default value set like this: count(preceding-sibling::*) + 1
This column is causing the issue. I removed the calculation on the column and the form loaded properly. However, this calculation is required. The column is used to find the right row index before setting a value from a lookup to the appropriate row.
How to change this calculation?
How to fix this error?
Thank you