# On Page Load Action

**URL:** <https://community.glideapps.com/t/on-page-load-action/36640>\
**Category:** Feature Requests\
**Created:** [January 3, 2022, 5:31pm UTC](https://community.glideapps.com/t/on-page-load-action/36640 "2022-01-03T17:31:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyan\_Lynch](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyan_lynch/32/28521_2.png) [@Kyan\_Lynch](https://community.glideapps.com/u/Kyan_Lynch)\
**Post date:** [January 3, 2022, 5:31pm UTC](https://community.glideapps.com/t/on-page-load-action/36640/1 "2022-01-03T17:31:13Z")

</div>

I’m building a new app in Pages and really enjoying some of the Pages-specific features. One additional feature that would be awesome would be a custom “On Page Load” action.

Here’s a simple use case example:

Select “Books” item from a list of types of resources. Go to “Books” tab. Upon loading, if only one book in collection, go to details page.

I realize that I could do this with custom actions, rollup column, and if/then on initial button press, but I wanted to give a really straightforward example.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 3, 2022, 6:17pm UTC](https://community.glideapps.com/t/on-page-load-action/36640/2 "2022-01-03T18:17:28Z")

</div>

I’d love this in Apps too…I’ve always wanted actions for Tabs. Default would be “non”, but I’d love there to be an action sometimes whenever a user clicks a tab or a tab is opened for the first time.

---

<div class="post-metadata">

**Author:** ![Igal\_Y](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/igal_y/32/56424_2.png) [@Igal\_Y](https://community.glideapps.com/u/Igal_Y)\
**Post date:** [April 24, 2023, 7:27pm UTC](https://community.glideapps.com/t/on-page-load-action/36640/5 "2023-04-24T19:27:12Z")

</div>

> [@Kyan\_Lynch](#):
>
> One additional feature that would be awesome would be a custom “On Page Load” action.

Hi Kyan\_Lynch, did you ever figure out how to create an “On Page Load” action ?

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 24, 2023, 7:42pm UTC](https://community.glideapps.com/t/on-page-load-action/36640/6 "2023-04-24T19:42:29Z")

</div>

Currently there’s no way to trigger an action by clicking on a tab… or “On Page Load” as you call it.

---

<div class="post-metadata">

**Author:** ![Igal\_Y](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/igal_y/32/56424_2.png) [@Igal\_Y](https://community.glideapps.com/u/Igal_Y)\
**Post date:** [April 24, 2023, 8:35pm UTC](https://community.glideapps.com/t/on-page-load-action/36640/8 "2023-04-24T20:35:03Z")

</div>

Eric, do you have any suggestions for a crafty work-around ? I need some fields cleared every time a certain tab loads. I know that there’s an action to accomplish that from the preceding screen that opens the tab ( advanced “item click” action ), however I am opening the target tabs via a QR code link and therefore such solution doesn’t apply.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [April 25, 2023, 12:12am UTC](https://community.glideapps.com/t/on-page-load-action/36640/9 "2023-04-25T00:12:36Z")

</div>

Maybe the tab that the QR code leads to is an Independent Screen and the flow from the QR code tab starts with a call to action… something like “Enter” or “Click here”… and use that button to set column values and move to next screen
