# How can I show a "no matches found" message for swifttype automcomplete plugin

**URL:** <https://discuss.elastic.co/t/how-can-i-show-a-no-matches-found-message-for-swifttype-automcomplete-plugin/192096>\
**Category:** Elasticsearch\
**Created:** [July 24, 2019, 4:58pm UTC](https://discuss.elastic.co/t/how-can-i-show-a-no-matches-found-message-for-swifttype-automcomplete-plugin/192096 "2019-07-24T16:58:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![angela.saternus](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@angela.saternus](https://discuss.elastic.co/u/angela.saternus)\
**Post date:** [July 24, 2019, 4:58pm UTC](https://discuss.elastic.co/t/how-can-i-show-a-no-matches-found-message-for-swifttype-automcomplete-plugin/192096/1 "2019-07-24T16:58:04Z")

</div>

I am using the autocomplete jquery plugin (with Swifttype) for my site search. It's working great except if you type something it can't find, like "bananas", nothing appears to indicate that it can't find any matches. Therefore, users are just hitting enter and being redirected to the homepage. As you can imagine that's quite confusing. Can I:

1. Have a "no matches found" show similar to normal results?  

2. if not, is there a way to add something to the function that says if there's no matches redirect to a specific page?

Thanks!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 21, 2019, 4:58pm UTC](https://discuss.elastic.co/t/how-can-i-show-a-no-matches-found-message-for-swifttype-automcomplete-plugin/192096/2 "2019-08-21T16:58:05Z")

</div>

Closed on August 21, 2019, 4:58pm UTC

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