Microsoft KB Archive/931410
Article ID: 931410
Article Last Modified on 2/1/2007
- Microsoft Office InfoPath 2007
- Microsoft Office Forms Server 2007
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.
To work around this issue, make sure that the controls have unique control ID values.
Additional query words: IP2007 InfoPath2007 IFS2007
Keywords: kbexpertiseinter kbtshoot kbprb KB931410