Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


More information

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.
14.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.

↑ Back to the top


Keywords: KB928042, kbprb, kbtshoot, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 928042
Revision : 1
Created on : 11/30/2006
Published on : 11/30/2006
Exists online : False
Views : 436