Change the name of a field or group

Microsoft Office InfoPath

Show All Show All

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.

  1. In design mode, if the Data Source task pane is not visible, click Data Source on the View menu.
  2. 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.
  3. 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 (".").

ShowTip