Streaming live at 10am (PST)

Search autofill on click

Hi Webflow community!

I was wondering whether there was a way to click the words (in colour) and for them to be autofilled in the search bar?

I’m wanting to persuade the viewer to search something, and by having handy little buttons that can autofill is my solution!

@HarryJames - yes with custom code this is pretty straightforward.

Check out this Codpen no libraries, just vanilla js: