Field editing in the Structural Editing developer sample form

Microsoft Office InfoPath

Show All Show All

Field editing in the Structural Editing developer sample form

Field editing in a Microsoft Office InfoPath 2003 form occurs when data is entered directly into a form field (usually a text box control) as a user fills out a form. The data that is entered is stored as a value of the element or attribute of the XML field (element or attribute) in the underlying XML document that the control is bound to. For example, in the Structural Editing developer sample form, text boxes are used for editing the data contained in the Part Number, Description, Quantity, and Unit Price fields.

Field editing usually occurs when a user enters data within a control on a form; the data that the user enters is stored in the form's underlying XML document. However, you can also use scripting code to manipulate the data contained in the form's underlying XML document by modifying the XML document itself. If the form includes a control such as a text box that is bound to the modified data, the data displayed in the form will be updated automatically.

ShowUsing controls for field editing

ShowUsing script for field editing