How to get a parameter from url and show on a text element

Hi everyone!! need some help how to get a specific parameter from a url and show on a text field.

Ex: http://forum.bubble.io/search?q=parameters

Let´s say i just want to display on a text field a (search?q=parameters) from url above

Can i do that? if yes how´s the best way ?

Thanks

Hi @alexandre_tessari,

You just need to use the Bubble built in function “Get data from page url” (see dynamic data in blue) and fill in the right parameter (ie “q”).

Best

Arthur

Hi @arthur.kieffer thanks for your awnser!

After that how do i display that parameter on a text field?

This function just returns the value. Call it inside a text element and see what happens.

This is what u mean right?

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