- In design mode, right-click the Optional Section label below the section, and then click Section Properties on the shortcut menu.
- In the Field or group name box in the Section Properties dialog box, type a new name for the group or field.
The following default menus will be updated with the new name. Any additional commands that you add to the optional section will reflect the new name.
Menu Command name Section submenu on the Insert menu group or field name Shortcut menu Insert group or field nameRemove group or field name
Notes
- If users have already filled out forms based on the form template, changing the name of a field or group can cause data loss in those forms.
- If the form template is based on a sample form, pre-existing XML Schema, database, or Web service, you can change only the names of fields and groups that you have added to the data source.
- The Insert command appears on a shortcut menu only if an optional section is part of another section. In such cases, the command appears on the shortcut menu for the section that contains the optional section.
Add or customize a single menu or toolbar command name for an optional section
- In design mode, right-click the Optional Section label below the section, and then click Section Properties on the shortcut menu.
- In the Section Properties dialog box, click Customize Commands.
- In the Section Commands dialog box, click the action in the Action list whose command name you want to add or customize.
- In the Location for the command list, do one of the following:
- To add a command to a menu or toolbar, select the check box for the menu or toolbar.
- To customize an existing command, select the name of the menu or toolbar that contains the command.
- In the Command name box, type the new name.
- If the command appears on a toolbar, type a new ScreenTip in the ScreenTip box.
Note The Insert command appears on a shortcut menu only if an optional section is part of another section. In such cases, the command appears on the shortcut menu for the section that contains the optional section.
Customize the hint text for an optional section
- In design mode, right-click the Optional Section label below the section, and then click Section Properties on the shortcut menu.
- In the Section Properties dialog box, select the Show insert button and hint text check box, and then type the new hint text.
Note The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed. Learn more