# Redirect to sheet on button click

**URL:** <https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353>\
**Category:** Ask for Help\
**Created:** [February 24, 2021, 12:32pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353 "2021-02-24T12:32:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kastiell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kastiell/32/22134_2.png) [@kastiell](https://community.glideapps.com/u/kastiell)\
**Post date:** [February 24, 2021, 12:32pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353/1 "2021-02-24T12:32:50Z")

</div>

Hello. Tell me how to do it:

1. The user enters a number from 1 to 20.
2. The user clicks the button and goes to the specified sheet. (from 1 to 20.)

I am unable to redirect to a specific sheet on a button click. How to build this logic?

---

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [February 24, 2021, 1:41pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353/2 "2021-02-24T13:41:31Z")

</div>

Hey, @kastiell

On a Detail screen, you could:

- Add a Form Button to add numbers (1-20)
- Add a inline list of this numbers

> [@kastiell](#):
>
> I am unable to redirect to a specific sheet on a button click. How to build this logic?

To do it, you could use the `Navigate to Tab` action

---

<div class="post-metadata">

**Author:** ![kastiell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kastiell/32/22134_2.png) [@kastiell](https://community.glideapps.com/u/kastiell)\
**Post date:** [February 24, 2021, 5:12pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353/3 "2021-02-24T17:12:02Z")

</div>

But if I have 20 sheets, and I need one button to redirect to the desired table, depending on the user’s choice. Is it necessary to do 20 hidden tabs for this purpose? And do 20 “If” conditions in the event editor?

---

<div class="post-metadata">

**Author:** ![Mishta\_P](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mishta_p/32/16900_2.png) [@Mishta\_P](https://community.glideapps.com/u/Mishta_P)\
**Post date:** [February 24, 2021, 5:43pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353/4 "2021-02-24T17:43:36Z")

</div>

It would depend what you are trying to achieve.

Are you trying to avoid creating 20 tabs each with different data?

Or are there simply 20 options for someone to choose from, and depending on what they choose they are presented with different data?

---

<div class="post-metadata">

**Author:** ![ThatGuyInArizona](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thatguyinarizona/32/12472_2.png) [@ThatGuyInArizona](https://community.glideapps.com/u/ThatGuyInArizona)\
**Post date:** [February 24, 2021, 6:00pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353/5 "2021-02-24T18:00:58Z")

</div>

Depending on what is on each of the 20 tabs, you can could have just 1 tab with 20 elements that are hidden or displayed based on the value selected ?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 24, 2021, 11:50pm UTC](https://community.glideapps.com/t/redirect-to-sheet-on-button-click/23353/6 "2021-02-24T23:50:37Z")

</div>

Agree with this, creating 20 tabs is too much to handle.
