Insert a repeating choice group
You can insert a repeating choice group on your form so that users can add multiple choice groups when filling it out.
When users move their mouse pointer over the default choice on the form, a shortcut menu button appears in the upper-left corner of the repeating choice group. Users can click this button to see options for inserting, removing, or replacing choices.
For example, on a travel form, you can use a repeating choice group to allow users to enter information about their business trips. For each transportation segment, users can select one of three choices
Insert a repeating choice group (automatically create the data source)
You can have Microsoft Office InfoPath 2003 automatically create the data source when you insert repeating choice groups (as well as other controls). If you do this, InfoPath creates groups that are bound to the choice sections inside the repeating choice group. In addition, InfoPath creates a "virtual" group that is bound to the repeating choice group. Virtual groups are identifiable by the name (choice) in the data source.
- In design mode, place the insertion point where you want to insert the repeating choice group.
- If the Controls task pane is not visible, click More Controls on the Insert menu.
- In the Controls task pane, select the Automatically create data source check box.
- Under Insert controls, click Repeating Choice Group.
A repeating choice group containing two choice sections appears on the form.
- To add controls to the choice sections inside the repeating choice group, do one of the following:
- To add controls to the default choice section, drag the control that you want from the Controls task pane into the choice section that is labeled Choice Section (default).
- To add controls to the alternative choice section, drag the control that you want from the Controls task pane into the choice section that is labeled Choice Section.
- To test the section, click Preview Form
on the Standard toolbar. To offer more than two options to users, you can insert additional choice sections inside the repeating choice group. To do this, place your insertion point inside the repeating choice group, and then click Choice Section under Insert controls.
Insert a repeating choice group (bind to an existing group)
- In design mode, place the insertion point where you want to insert the repeating choice group.
- 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 group that you want to bind the repeating choice group to, and then click Repeating Choice Group on the shortcut menu.
Note If Repeating Choice Group is not available on the shortcut menu, the group to which you are trying to bind may not support this type of control. Repeating choice groups can be bound only to repeating virtual groups. In the data source, virtual groups appear as (choice).
- To test the section, click Preview Form on the Standard toolbar.
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