# Record user searches

**URL:** https://community.glideapps.com/t/record-user-searches/35214
**Category:** Ask for Help
**Created:** [November 29, 2021, 5:02am UTC](https://community.glideapps.com/t/record-user-searches/35214 "2021-11-29T05:02:26Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [November 29, 2021, 5:02am UTC](https://community.glideapps.com/t/record-user-searches/35214/1 "2021-11-29T05:02:26Z")

</div>

Can l remember user searches or at least the last search.  
I am trying to build a relation list related to what users has searched before.  
That’s a suggestion feature often offered in many websites and apps. I can do this easily based on favorite but for searches, is it possible?

---

<div class="post-metadata">

### Author: ![MIKAHEL](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mikahel/32/25039_2.png) [@MIKAHEL](https://community.glideapps.com/u/MIKAHEL)
#### Post date: [November 29, 2021, 5:36am UTC](https://community.glideapps.com/t/record-user-searches/35214/2 "2021-11-29T05:36:59Z")

</div>

I think you have to create your own search field.  
Using the plugin columns to search inside a text or array.  
Probably to perform a search in more fields you may have to join those  
Then the searched values also have to be stored in a history joined field.

---

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [November 29, 2021, 5:49am UTC](https://community.glideapps.com/t/record-user-searches/35214/3 "2021-11-29T05:49:44Z")

</div>

I went to the plugins page. I cannot find it. Could you please send me a link?

---

<div class="post-metadata">

### Author: ![MIKAHEL](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mikahel/32/25039_2.png) [@MIKAHEL](https://community.glideapps.com/u/MIKAHEL)
#### Post date: [November 29, 2021, 6:59am UTC](https://community.glideapps.com/t/record-user-searches/35214/4 "2021-11-29T06:59:39Z")

</div>

In this very moment I’m out of the application, but you can create a column as a check text matches, not necessarily searching as it is shown in the example, but you can have multiple ways.  
The filed text is your join of different fields where executing the search, and the regular expression is your searching field on the screen.

 ![Screenmemo_2021-11-29-15-57-47](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/77d3e5a984f8e07b288f4b88d88322bcd0301b00.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 29, 2021, 7:36am UTC](https://community.glideapps.com/t/record-user-searches/35214/5 "2021-11-29T07:36:45Z")

</div>

You can just use a user-specific column to store the search value, then cast that to the table where you want to perform the search with a Single Value column.

Use an If Then Else column and perform some “include” checks to see if the fields contain the search term.

---

<div class="post-metadata">

### Author: ![jabid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jabid/32/33391_2.png) [@jabid](https://community.glideapps.com/u/jabid)
#### Post date: [November 29, 2021, 8:09am UTC](https://community.glideapps.com/t/record-user-searches/35214/6 "2021-11-29T08:09:11Z")

</div>

That sounds good. May I ask you to describe the use-case step by step? Thanks a lot.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 29, 2021, 9:50am UTC](https://community.glideapps.com/t/record-user-searches/35214/7 "2021-11-29T09:50:24Z")

</div>

It’s basically the two paragraphs I described above, or you can read the reply linked below and scrape tep 2 & step 3 if that’s not applicable for your use case.

> [@Show Search Results when few characters entered](https://community.glideapps.com/t/show-search-results-when-few-characters-entered/35120/6):
>
> Ah, so only when it’s 3 characters or more will the search result show? I think you can follow the steps below: 1/Add a text entry writing to a user-specific column to serve as your search field. 2/Add a plugin to calculate the length of that term. 3/Add an If Then Else column, if length \> 2 then returns the search term, else leave it empty. 4/In your table that you want to search, create a single value column and cast that ITE column above to all rows. 5/Add a final If Then Else column. I…

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [November 30, 2021, 9:50am UTC](https://community.glideapps.com/t/record-user-searches/35214/8 "2021-11-30T09:50:53Z")

</div>

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