# Copy-pasting form content

Cut, copy, and paste work whenever your have a group, step, question, or variable selected: within flows, or even between flows.

### Copying and pasting items

When an item is focused, there is a sub-menu that will allow you to copy/cut an item. Alternatively, you can right-click the item.&#x20;

This is available on groups, steps, and questions.&#x20;

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2Fv7q9zUIUGsCJHJkW4Zns%2Fimage.png?alt=media&#x26;token=5678733f-7c36-42e6-b1de-e14eef32993c" alt="" width="429"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2F3lh3F7179JpZGeIyTqpJ%2Fimage.png?alt=media&#x26;token=fdd9eeed-d0f3-42d1-971c-6876c3175b0f" alt="" width="563"><figcaption></figcaption></figure></div>

Once an item is copied, you can paste by right clicking the target area and:&#x20;

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2F3AtsQYmzq4CqOmqMrJFG%2Fimage.png?alt=media&#x26;token=844640d4-ab0f-4044-b145-0e2763e6b95f" alt="" width="420"><figcaption></figcaption></figure></div>

When pasting content that depends on answers from other parts of a flow, you’ll need to guide the Formsort studio on how to handle those dependencies. This process is called **mapping input variables**.

### Mapping input variables

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FEIhJ1LChjjda3MWFvJjJ%2Fimage.png?alt=media&#x26;token=1a9f9f1a-686d-457e-985a-369e52d7e626" alt="" width="458"><figcaption></figcaption></figure></div>

If you paste a flow slice that contains variables—such as [templated labels](https://docs.formsort.com/variable-templating) or questions that rely on conditional logic—you'll be prompted to map those variables to existing answers in your flow.

Flow slices that contain only static content (like informational text or images) can be pasted without any additional configuration.

When mapping input variables, you’ll have a few options:

### Create new answer

Adds a new question to the beginning of the pasted slice to collect the required input from the responder.

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FUgiOiQKwFMdbT50K6etQ%2Fimage.png?alt=media&#x26;token=ff37a1da-f827-4a02-a1cd-4d9349824896" alt="" width="332"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FJgdeswwHtMxjMG7BrWM9%2Fimage.png?alt=media&#x26;token=1eebfebd-1713-4c11-89c8-2f834707b639" alt="" width="400"><figcaption></figcaption></figure></div>

### Map to existing answer

If your flow already collects an answer of the correct type, you can map the variable to that existing answer—no new question needed.

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FHN8nqtPYCjpKaS8taJmF%2Fimage.png?alt=media&#x26;token=b3eb4633-15bb-4183-b3a1-fc07a5a32bdd" alt="" width="350"><figcaption></figcaption></figure></div>

This process is great for creating duplicate instances of a question.&#x20;

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FWMiOA2im5QyjNyyLWsFa%2Fimage.png?alt=media&#x26;token=d932ea42-e7ff-4964-9c88-abc177d84006" alt="" width="394"><figcaption></figcaption></figure></div>
