# Set logic conditions for form

## 🛠️ **Show or Hide Individual Form Fields**

*(Useful when you want extra questions to appear only if needed.)*

The app allows set up to show a field based on an option selected of a field above.

Example: Display the "Product Types" field only when the user selects "Yes" for "Are you interested in our products?"​

<figure><img src="/files/2Y7u43YsH63XAloL0nVd" alt=""><figcaption></figcaption></figure>

#### **Steps**&#x20;

1\. Open the app > click **Forms** > open a form or create new one

2\.  Add fields you want to display with condition to the form > click to open the field/element detail

<figure><img src="/files/1zMiCsUPzwFFLBpTzEzi" alt=""><figcaption></figcaption></figure>

3\. In the field settings, turn on **Conditional** **display**, then click **Condition**

4. Create a rule:

**Show this field when:**

* **What are you interested in?**
* **is equal to**
* **Product types**

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

5, Click **Save** and test the result&#x20;

#### How it works

* When the user checks **“Product types” →** the extra field appears
* If they don’t check it → the field stays hidden

Your form now shows the **“Product Types”** field *only when relevant*, keeping the form shorter and easier to complete.

***

## 🛠️Show or Hide Entire Steps (Multi-Step Form)

Our app allows displaying one step/page on the form based on a selected option on the previous step.

**Example:** Display the **“Teacher Details”** step *only when* the user selects **“Yes”** for **“Do you want to assign a teacher?”**

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

#### **Steps**

1\. Open the app > click **Forms** > open a form or create new one > add fields and pages you want to display with condition to the form

2\. Click on the **Page** name to open it&#x20;

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

3. In the step settings, turn on **Conditional** **display** > click **Condition**
4. Create a rule:

   Show this step when:

   * **Do you want to assign a teacher?**
   * **is equal to**
   * **Yes**

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

4. Click **Save**

#### How it works

* If user selects **Yes →** the Teacher Details step appears
* If they select **No →** the step is skipped

Your multi-step form now behaves like a guided flow, only showing the teacher section for users who need it.

***

### ▶️ Tutorial video

{% embed url="<https://www.youtube.com/watch?v=SKxOOacgM54>" %}

### ⚠️ Troubleshooting

If conditional logic doesn’t work:

* &#x20;Make sure you saved the condition
* Check values you selected match exactly (e.g., “Yes”)
* Ensure the trigger field appears before the conditional field/step
* Refresh preview or test on the live store

***

Still stuck? Contact support: **<support@powerfulform.com>**


---

# 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.powerfulform.com/~/revisions/KRfi0fHdeAFeAhiPrH7G/form-setup/set-logic-conditions-for-form.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.
