Change the name of a field or group
If users have already filled out forms based on your form template, changing the name of a field or group can cause data loss in those forms.
In addition, if your form template is based on a sample form, pre-existing XML Schema, database, or Web service, you can only change the names of fields and groups that you have added to the data source.
- In design mode, if the Data Source task pane is not visible, click Data Source on the View menu.
- In the Data Source task pane, right-click the field or group whose name you want to change, and then click Properties on the shortcut menu.
- In the Field or Group Properties dialog box, type the new name in the Name box.
Note Names cannot contain spaces. They must begin with an alphabetic character or underscore ("_"), and they can only contain alphanumeric characters, underscores, hyphens ("-"), and periods (".").
You can also change the name of a field that is bound to a control by double-clicking the control and typing a new name in the Field name box.