# Logic

**Set up your logic:**

1\. Select a Question: Click on the question you want to add logic to.

2\. Set Up Conditions: In the logic panel, click on “Add Logic”. Here, you can set conditions based on the respondent’s answers. For example, if they select “Yes” to a question, you can direct them to a specific follow-up question.

3\. Define the Jump: Choose the question you want to jump to based on the condition. You can set up multiple conditions and jumps for each question.

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

**Test Your Logic**

1\. Preview Your Form: After setting up your logic, it’s essential to test your form to ensure the logic flows as expected. Click on “Preview” to see how the form behaves with different answers.

2\. Make Adjustments: If the logic doesn’t work as intended, go back to the logic panel and make the necessary adjustments.


---

# Agent Instructions: 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:

```
GET https://help.formberry.io/help-center/logic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
