I've got a problem with my InfoPath form where I am unable to isnert a choice section between two choice sections of the same kind in a repeating choice group. When I insert the section, I receive the following error:
InfoPath cannot insert the section or row because of an error
The attempted fragment operation cannot be completed because there is no valid insertion point for the fragment
My XSD Date Source for the form is as follows:
<xs:schema>
<xs:element name="richBody">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="element1" maxOccurs="unbounded"/>
<xs:element name="element2" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
When my form opens, element1 is the default choice section, and is automatically inserted into "richBody". Now I want to insert another element1 section after my first element1. I now want to insert element2 after the first element1. This is when I get the error. The error doesn't occur if I add element2 after element1, then add a second element1 after element2.
Hopefully this makes sense, and somebody can help me out with the problem. I'm running close to a deadline, and I am not sure what to do at this point. Thanks in advance!!