# How to jump to different pages according to the customer's choice?

By default, buyers view lens steps based on their order in the flow. If logic jumps is turned on, buyers can view lens step based on what answers they choose and "jump" to specific step.

**This feature is only available when you have more than 1 lens step.**

## 1. Turn on Logic Jumps

If you only 1 lens step, you can not turn on logic jumps.

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

## 2. Specify a Leads To for every options.

We have built in 2 LeadsTo pages, one is the review order page and the other is the prescription selection page. When your flow type is prescription first, there is only the review order page; when your flow type is lens first, there are both pages.

You can set the value of LeadsTo to the page you have created, so that when the buyer selects this option, they will jump to the target page.

#### Here is an example

I created multi lens steps flow

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

I have a Clear option within Step1, I want the buyer be leaded to Clear lens package page after this option be selected

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

{% hint style="info" %}
If you have multiple steps with the same name, you can use **internal ref** to distinguish them

![](/files/IzXrqw3HM6lukav8Ae7V)
{% endhint %}


---

# 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://pb-apps.gitbook.io/lool/how-to/how-to-jump-to-different-pages-according-to-the-customers-choice.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.
