Microsoft KB Archive/928042

= When you apply the &quot;Don't allow users to insert or delete this control conditional&quot; formatting option to a nested control in Office InfoPath 2007, you can still insert or delete the outer container control =

Article ID: 928042

Article Last Modified on 11/30/2006

-

APPLIES TO


 * Microsoft Office InfoPath 2007
 * Microsoft Office Forms Server 2007

-



SYMPTOMS
When you apply the Don't allow users to insert or delete this control conditional formatting option to a nested control in Microsoft Office InfoPath 2007, you can still insert or delete the outer container control in the browser.



Steps to reproduce the problem

 * 1) Create a new InfoPath form, and then drag a Repeating Section control to the form.
 * 2) Drag a Repeating Table control to the repeating section, and then click OK when the Insert Repeating Table dialog box appears.
 * 3) Right-click the repeating table, click Repeating Table Properties on the Display tab, and then click Conditional Formatting.
 * 4) Click Add, and then set the If this condition is true field to field3 is greater than or equal to 3.
 * 5) Click to select the Don't allow users to insert or delete this control check box.
 * 6) Click OK three times.
 * 7) Right-click the field1 control, click Text Box Properties, type 1 in the Default Value field, and then click OK.
 * 8) Right-click the field3 control, click Text Box Properties, click the sum function, and then select the field1 control as the parameter.
 * 9) Right-click the Repeating Section control, click Repeating Section Properties on the Display tab, and then click Conditional Formatting.
 * 10) Click Add, and then set the If this condition is true field to field3 is equal to 1.
 * 11) Click to select the Don't allow users to insert or delete this control check box.
 * 12) Click OK three times.
 * 13) Open the InfoPath form in the browser, and then click Insert item two times.

Note The repeating table prevents you from inserting or deleting a row in the repeating table.
 * 1) Point to the repeating table rows, click the shortcut menu button in the upper-left corner of the repeating section, and then click Insert group4. You can now insert a new row in the repeating table.

Keywords: kbexpertiseinter kbtshoot kbprb KB928042

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.