Copy and paste a control

Microsoft Office InfoPath

Show All Show All

Copy and paste a control

By using the Copy and Paste commands, you can create a new control that matches the formatting of an existing control. However, you must change the binding of the new control so it does not store its data in the same field or group as the original control.

  1. In design mode, select the control you want to copy.

    ShowTip

  2. On the Edit menu, click Copy.
  3. Place the insertion point where you want to insert the new control, and then click Paste on the Edit menu.
  4. Right-click the new control, click Change Binding on the shortcut menu, and then do one of the following:
    • To create a new field or group to bind the control to, right-click the group to which you want to add the field or group, click Add on the shortcut menu, enter the appropriate properties in the Add Field or Group dialog box, and then click OK twice.
    • To bind the control to an existing field or group, click the field or group you want to bind the control to, and then click OK.

Notes

  • When you copy and paste a control with conditional formatting, the original conditions will be copied to the new control.
  • Because data validation is based on fields and groups, not controls, changing the field or group to which a control is bound also changes any existing data validation for that control.

ShowTip