real time search field | Community
Skip to main content
July 10, 2018
Solved

real time search field

  • July 10, 2018
  • 1 reply
  • 5287 views

We are remapping our fields in order to increase data quality. Part of this process involves us either updating, merging, retiring and creating new fields. One of the fields that we came into realization that we need to update is the " product of preference"  field. Because we have too many products to list in a pick-list type of field, we are trying to understand if we can implement a smart search field, that would pull up information from a list of products we could add to Marketo as the user types.

For those who are not familiar, Real-Time Search was a feature of Google Search provided by Google in which search results also sometimes included real-time information from sources such as Twitter, Facebook, blogs, and news websites. As we are not trying to pull information from the Web, the mechanics are a little different, but the idea is the same.

Have anyone implemented that on Marketo before?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

That's great Sanford. Thank you so much for taking the time.

So, what you're saying is that we will have to host the list of products somewhere else other than Marketo?

Thanks,


If you use a separate .js file, it needs to be other than Marketo.

You can of course embed the products right in the page, as I did in the demo.

Or maybe I shouldn't have been so quick to dismiss using a .txt file (not .js) file hosted in Marketo. It works, just is a bit far afield for most people.

1 reply

SanfordWhiteman
New Participant
July 10, 2018

Of course any form input can be turned into a search box against a remote service. The question is merely how that remote service is queried. Marketo  *itself* doesn't have the ability to look up entries in a separate database and return only matched content. How many entries are you really talking about, though? Just a few thousand?

July 10, 2018

Hi Sanford,

I believe we're talking about a little less the thousand products.

Do you recommend something in particular?

Thanks,

SanfordWhiteman
New Participant
July 10, 2018

1000 is nothin'.

You can just put that in a JavaScript array and tie the input to that. I'll put up a demo later today as I'm out of office now.