# Conditional Logic (Pro)

SurveyFunnel allows you to build smart surveys that will automatically show or hide questions on a form based on your users’ previous responses.

### Applying Conditional Logic

#### SHORT ANSWER:

First, drag and drop the single choice element to the Content Elements section. Now, add the question you want in the Title and click the ‘Save’ button.

![](/files/54Fx6s3yjSxGBhj2reOB)

To apply conditional logic, click on the conditional branching icon of the element in the content elements section.

![](/files/chlL68v4OUa9qN0sttR3)

![](/files/lmVCvGkTXqEfQbYbpXgj)

Now, select the question you want the user to jump to after answering this question using the ‘Jump to’ drop-down list and click the ‘Save’ button.

![](/files/lPLPKtPBZUdMNn4xdb8o)

The same process applies to the LONG ANSWER, TEXT, and FORM ELEMENTS as well.

#### SINGLE CHOICE :-

First, drag and drop the single choice element to the Content Elements section. Then, add the question and the answers on the left side panel and click the ‘Save’ button.

![](/files/CSgVvhFnskOnyRrGIYtD)

To apply conditional logic, click on the conditional branching icon of the element in the content elements section.

![](/files/MCjviVOanCKBAKYWz3OZ)

Next, click on the ‘Add condition’ button to add conditions to your question.

![](/files/7gTfCwGaGGTLT4HZ5cPC)

First, choose the answer that requires any action.

![](/files/e4WcWGBzMg5OyyC6DCTj)

Next, select the question you want the user to jump to; after choosing that answer using the ‘Jump to’ drop-down list.

![](/files/GcIfGvgDrOav2VDv7juP)

To set a condition for the other answer, repeat the same process by adding another condition. Click on the ‘Save’ button to save changes. The same process applies to the Image Question element as well.

#### MULTICHOICE:-

Drag and drop the Multi Choice element to the Content Element section to add conditional logic. Then, add the question and the answers on the left side panel and click the ‘Save’ button.

![](/files/QycBlzivpIMU1EKyxO1Z)

Next, click on the conditional branching icon of the element in the content elements section.

![](/files/VBrWEFBOL69FUfkghqZc)

Click on the ‘Add condition’ button to add conditions to your question.

![](/files/4lEyzbaTGuf9E3OuwIS6)

Now, click on the drop-down list and select ‘Any’ or ‘All’ based on the criteria required. Here, you can choose multiple answers by clicking the ‘+’ icon on the side that requires any action.

![](/files/S4RSdPJxXqnBSYjXbaOg)

Next, select the question you want the user to jump to; after choosing those answers using the ‘Jump to’ drop-down list.

![](/files/FK046vF4f3OyLAXFwD2Z)

By using the same process, you could set the action to the rest of the answers as well.

![](/files/sf4GeQXUoJFnldogxzF8)


---

# 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://docs.wpeka.com/survey-funnel/master/conditional-logic-pro.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.
