TRICK: Changing the Depth of Recurring Fields
Applies to: Microsoft Office InfoPath 2003 SP1
You can use the following script for promotion and demotion of recurring nodes in single depth recurrences. (This does not work in the case of a*/b/a*…). To work in your code, simply change the names of the parameters at the top and attach this code to events in your form code.
SP1 Feature Usage
The following form code is written in JScript.