Go back to previous page without a "Go Back" element


Bubble allows you to create a workflow where a selected element can navigate to a previous page which can then kick off another workflow or whatever. Neat.

However if the user simply uses their WEB BROWSERS back arrow to return to a previous page then this does not kick off the workflow. So there is no use in creating an element with a “go to previous page” workflow.

My question is, is there a way to create a workflow for when users navigate to a previous page using their web browsers back arrow as oppose to a bubble element?

And if no, is there a way to kick off a workflow on a page IF it was navigated to from a specific page?

Thank you,

Sure, you can do this with url parameters. You can add for example a url parameter of ‘show’ X or Y whenever element X or Y is clicked.

Then on page load you add workflows, when get url from page show is X: do something. When it is Y, do something else.

When the user clicks the back button the previous url parameter is loaded. This works particularly well for one page apps where you still want to utilize the browsers back button (or back on mobile).


Thank you for your response.

That seems to have done the trick though I’m still texting it in various situations.

Thank you so much.

1 Like

Hi, @vincent56 ! I didn’t get it :frowning:
Do you have any example of this (screenshots, app editor, etc.)?

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.