# Show a question only after certain answers

> Add rules so a question appears only when earlier answers match, and skip the questions that don't apply.

Source: https://help.attravo.com/product-quiz/articles/show-a-question-only-after-certain-answers
Updated: 2026-10-06

Rules let a quiz skip questions that don't apply to a shopper, so each person answers fewer, more relevant questions. A question with no rules always shows.

In the example below, a skincare quiz asks about hair only when the shopper says they want haircare too.

## Add a rule

1. In **Questions**, select the question that should only show sometimes. Rules can be added to every question after the first.
2. Under **Show this question**, select **Add rule**.

![Show this question, with Add rule highlighted](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/26c6b449-14c5-4b56-862b-ad70599c7b2b/rules-1-empty-a0c5e80cfb.webp#w=1342&h=360)

3. Choose the earlier question in **If the answer to**, then a **Rule**, then the **Answer**.

![A rule: if the answer to Q5, Do you also need hair products?, is Yes, help me with haircare too](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/26c6b449-14c5-4b56-862b-ad70599c7b2b/rules-2-rule-2e54b58406.webp#w=1342&h=652)

4. Select **Save**.

The questions list shows the rule under the question's type, such as **Only when Q5 is "Yes, help me with haircare too"**.

![The questions list, with What is your main hair concern? marked Only when Q5 is "Yes, help me with haircare too"](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/26c6b449-14c5-4b56-862b-ad70599c7b2b/rules-3-list-15f2566dd2.webp#w=1342&h=1148)

## The rules

| Rule | The question shows when |
| --- | --- |
| **is** | The earlier answer is the one you chose. On a multiple choice question, it's among the answers picked. |
| **is not** | The earlier answer is anything else. |
| **includes** | The answers picked include the one you chose. Use it with multiple choice questions. |
| **doesn't include** | The answers picked don't include it. |

When the earlier question has no answer choices, such as a short text question, **Answer** is a text box: type the answer to match, exactly as shoppers would type it.

A rule on a question the shopper never saw, because that question was skipped by its own rules, doesn't match, so the question stays hidden.

## More than one rule

Add as many rules as you need. When a question has two or more rules, **All rules must match** for it to show.

## Keep rules in order

A rule can only look back at questions before it. If you move a question so a rule points to one that now comes later, the rule says "This rule points to a question that now comes later, so it can never match." Move the questions back, or change the rule.

> [!TIP]
> Check a branching quiz in the **Live preview**: click through it with different answers and watch which questions appear. See [Preview your quiz](https://help.attravo.com/product-quiz/articles/preview-your-quiz.md).
