Duplicating objects in the Trial Objects window
When you use this method, you copy forms or form components by selecting them in the Trial Objects window and choosing one of two Duplicate commands from a pop-up menu. The InForm Architect application creates a new component in the Trial Objects window. This component has the structure of the original component and a new RefName created from the name of the original component and the prefix “Copy of.”
To use the new component in a form, drag it from the Trial Objects window onto the appropriate location in the Form editor window.
You can choose whether any child components are copied as references to the original component or are created as new components in the same way as the parent component. If you choose to duplicate child components, the InForm Architect application creates new components down to the control level. It does not duplicate elements or units.
By using this method, you can duplicate forms or form components.
To create duplicate components and use them in a form or visit:
- In the Trial Objects window, right-click the form or component you want to duplicate.
Note: To quickly locate the component you want to want to duplicate, right-click the component in the Form editor window, and click Locate in Trial Window on the pop-up menu. The InForm Architect application highlights the object in the Trial Objects window.
- Choose one of the following from the pop-up menu:
- To create a new component with references to the original definitions of all its subcomponents, choose Duplicate. In most cases, this level of copying is sufficient.
- To create a new component containing all new subcomponents, choose Duplicate With Children.
The InForm Architect application creates new components named like the originals but with the prefix Copy of. If you create multiple copies, the InForm Architect application adds a copy number to the prefix.
- Drag the new component to the appropriate location in the Form editor window, or, if the component is a form, in the Protocol Editor window.
- In the Properties window, edit the component properties as necessary.