You can customize
menu commands that are used to add and remove a repeating section when users fill out a form. To quickly rename all the default menu commands that are associated with a repeating section, change the section name. If you want more control over specific commands, or if you do not want to change the section name, you can customize each command name separately. You can also customize the hint text that appears below the section on the form, which users click to insert a new section.
Rename all the menu commands for a repeating section
- In design mode, right-click the Repeating Section label below the section, and then click Repeating Section Properties on the shortcut menu.
- In the Sections that can be inserted list in the Repeating Section Properties dialog box, select the section whose commands you want to customize, and then click Modify.
- In the Section name box in the Section Properties dialog box, type a new name for the section.
The following default menus will be updated with the new command name. Any additional commands that you add to the repeating section will reflect the new name.
Menu Command name Section submenu on the Insert menu section name Shortcut menu Insert section name aboveInsert section name below
Remove section name
Notes
- If users have already filled out forms that are 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.
Add or customize a single menu or toolbar command name for a repeating section
- In design mode, right-click the Repeating Section label below the section, and then click Repeating Section Properties on the shortcut menu.
- In the Sections that can be inserted list in the Repeating Section Properties dialog box, select the section whose commands you want to add or customize, and then click Modify.
- 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 box, 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.
Customize the hint text for a repeating section
- In design mode, right-click the Repeating Section label below the table, and then click Repeating Section Properties on the shortcut menu.
- In the Repeating Section Properties dialog box, make sure the Show insert button and hint text check box is selected, and then type the new hint text.
Notes
- You can also use these procedures to customize commands for a recursive repeating section, which is a type of repeating section.
- 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