Change URL when clicked something

How do i make it change the url when i click a button for example i click a button it shows a group and changes url to “https://example.com/page/home” or something like that?

@JeffWalker there is a work flow called “Go to page” that does exactly that.

@robhblake is correct.

In your workflows, you will navigate to another page. Check the send perimeters box and name what you want to send. On that page, you will need to reference the perimeter.

No i mean like say i had a application form or something and i had multiple sections “https://example.com/application/page2” like that

Assuming this is an app with multiple pages (rather than a single page app), you can take your user to a different page within your app with the “Go to page…” workflow, and specify therein “page2” as the destination. As @josh10 mentioned you can also chose to send data from your application form to the next step.

So in your application you have a button with a workflow that says when clicked → go to page → “page2”.

Reference | Bubble - Go to page…

image

No i don’t want it to take me to a new page, I want it on the same page just the URL as i stated “https://example.com/application/page2” not take me to a new page

The “Go to page” workflow accomplishes the same thing. It basically just changes the URL. If you change the URL from “example.com/page1” to “example.com/page2” Bubble will expect that this “page2” exists and is separate from “page1”.

If you are staying on the same page you will need to specify that page in the “Go to page…” workflow, and then you can either pass data as parameters (i.e. example.com/page1?var1=x&var2=y". Or you can pass a “Thing”.

Alternatively just use custom states to show/hide the various sections of your application form (which I assume is what you are trying to do)

Hope that makes sense.


Is that what your on about?

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