> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/response-data-collection-and-management/variable-schema/orphaned-answers.md).

# Orphaned variables

<figure><img src="/files/m2m8c4xZ7skvyadwXiQG" alt=""><figcaption><p>An orphaned "dob" variable</p></figcaption></figure>

There are cases where an answer will no longer be collected within a flow, but it still has dependencies. For instance, you might delete a `date` question that collects a user's date of birth, however there is a [calculated variable](/response-data-collection-and-management/variable-schema/calculated-answers.md) function that requires that `date` input to calculate an age.&#x20;

In this case, the `date` answer will remain in the flow as an **orphaned** answer.&#x20;

{% hint style="info" %}
Generally, you don't want to have orphaned answers. We're working to make it harder and harder to generate them within flows.
{% endhint %}

## Resolving orphaned answers

### Re-use  variable&#x20;

<figure><img src="/files/qxWgeljG2wDuTCpvpi9b" alt=""><figcaption></figcaption></figure>

### Deleting orphaned variables

In order to delete an orphaned variable, you must remove it from any dependencies or "uses" it may have.&#x20;

Using the example at the top of this section, the `date` question that collects a dob would need to be removed as an input to the calculated variable that outputs an age.&#x20;

Once you see that **uses** are at 0, you will have the option to delete the variable.

<figure><img src="/files/7JFD2DyTNNvO8BUHQkVl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.formsort.com/response-data-collection-and-management/variable-schema/orphaned-answers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
