Looper Provider Query String variable

Hello,

Is there a way to grab a custom query string variable “keywords” from the URL:

https://mysite.com/shop/?keywords=cam

so that I can set the default value of an input html element to whatever the user enters? That way when they submit the form and the page reloads they don’t lose the value they entered in this input html element? Is that what this is for:

{{dc:query:query_var key="keywords"}}

Thanks!

Hello Philip,

Thanks for writing to us.

Please have a look at this thread for reference.

Hope it helps
Thanks

This was exactly what I needed to pull the value from the URL:

{{dc:url:param key="keywords"}}

Thanks!

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.