When two controls have the same control ID in a Microsoft Office InfoPath 2007 form template, the Design Checker does
not generate an error message about the duplicate control ID values. When
you open this form in a Web browser, you may experience problems.
For
example, assume that you create an InfoPath form template that has two views. In each view, you
add a text box and a button. Each button has the same control
ID and executes a rule that concatenates a value to the text box. These rules set a value on the same field. One button adds "View1"
to whatever value is in the field. The other button adds "View2" to the field when the
button is pressed. When you open this
form in a Web browser, the value "View1View2" is always added to the value in
the text box, regardless of which button is pressed. This behavior occurs because the buttons have duplicate control IDs.
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.