# Loading a tab other than tab 1 on page load

**URL:** <https://community.weweb.io/t/loading-a-tab-other-than-tab-1-on-page-load/6594>\
**Category:** How do I?\
**Created:** [January 25, 2024, 1:44am UTC](https://community.weweb.io/t/loading-a-tab-other-than-tab-1-on-page-load/6594 "2024-01-25T01:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![D-EFFCON](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@D-EFFCON](https://community.weweb.io/u/D-EFFCON)\
**Post date:** [January 25, 2024, 1:44am UTC](https://community.weweb.io/t/loading-a-tab-other-than-tab-1-on-page-load/6594/1 "2024-01-25T01:44:47Z")

</div>

Hello team,

I’m building an online marketplace.

Under my Settings page, I have this tabbed content.

On another page, basically a page that lets seller list their products, I have a workflow that if the user does not have a Stripe account, it changes page to “Settings”.

However, I want it to load straight to my Payment settings tab, rather than the default Profile tab on page load.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/640047ad9c2260b743631aac790be3a2830ff36e.png)

How would I set this up?

---

<div class="post-metadata">

**Author:** ![Profound5753](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/profound5753/32/6870_2.png) [@Profound5753](https://community.weweb.io/u/Profound5753)\
**Post date:** [January 25, 2024, 2:07am UTC](https://community.weweb.io/t/loading-a-tab-other-than-tab-1-on-page-load/6594/2 "2024-01-25T02:07:52Z")

</div>

On page load use a global variable and change it based on your conditions. Use them the true/false split. If the variable is true then change the tab variable to X and if false change the tab variable to Y. Let me know if you have any additional questions. Happy to send over a loom.

---

<div class="post-metadata">

**Author:** ![D-EFFCON](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@D-EFFCON](https://community.weweb.io/u/D-EFFCON)\
**Post date:** [January 25, 2024, 4:28am UTC](https://community.weweb.io/t/loading-a-tab-other-than-tab-1-on-page-load/6594/3 "2024-01-25T04:28:59Z")

</div>

Ah yes, got it, thank you!

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/859e44debec55acf591126cb4193743d8ce8dc1c.png)
