Streaming live at 10am (PST)

External site with query string

Hello Webflow Community,

I’d like to redirect a user to an external website with a query string after their entered a value in an input element, I don’t find how this should be done.

For instance : I type “hello world” in the input, then click on a button and I shall be redirected to https://mywebsite.com?q=hello%20world.

How can I achieve this ?


Here is my public share link: LINK
(how to access public share link)

It’s pretty easy with javascript but you would need to share your site for someone to actually write the code. Essentially you just prevent the default action on the button, grab the value from the input, append it to the variable with the url string, and then direct the user to the final url.