Search with suggestions | Community
Skip to main content

Search with suggestions

  • June 27, 2017
  • 1 reply
  • 0 views

How it is possible to get JSON data from a search result?

In my case, I want to develop a search bar with instant suggestions, like in Airbnb:

https://www.airbnb.com.br/help/topic/1105/booking-a-trip

If you type any character, it'll show you some suggestions.

This topic has been closed for replies.

1 reply

Trapta
  • June 28, 2017

Hi @Rian,

It is pretty easy now to do something like what the URL shows. You can use Zendesk native "search" component, pass an attribute "instant=true" and you are done.

Something like this -

{{search instant=true}}

For more information, please refer search helper.

You can always look at the documentation provided by Zendesk for HelpCenter Templates.

 

Let me know if you face any issue or need something else.

Cheers,

Team Diziana