# 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="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FobyjCv6NBgDtFVjcGegh%2Fimage.png?alt=media&#x26;token=6a855568-f473-4050-9b04-c3df25e9b5b2" alt=""><figcaption></figcaption></figure>

#### Steps to set condition for fields

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="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FQPpkWc02bQkBuVs0NnCP%2Fimage.png?alt=media&#x26;token=1d00ee08-599a-43f7-87b8-e9e621199220" 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="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FiIa1bmEbxBqyW9FkXd5a%2Fimage.png?alt=media&#x26;token=2f74d95f-ecdd-42fd-b2ee-cf0730b450e9" 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="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2Fm4KpzLpc8cmQelY5EFgw%2Fimage.png?alt=media&#x26;token=6e0e3452-35ef-40ef-90d5-f3ca9b514263" alt=""><figcaption></figcaption></figure>

#### Steps to set conditions for pages

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="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2Fro8QGBByNoPy7BXBAyUO%2Fimage.png?alt=media&#x26;token=1d53af31-9ef2-4041-8c04-8d4cf2409331" 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="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FX1uawj5CU1hSaqBVbvwt%2Fimage.png?alt=media&#x26;token=f690efcc-71c3-4c0d-8f42-9b0625b2e52d" 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

***

#### Need More Help?

If you still need assistance, please contact us at [**support@powerfulform.com**](mailto:support@powerfulform.com). Our team will be happy to help you resolve any issues or guide you further.
