Answers.Body: <p>I solved this with a trick creating a search form with FormBuilder and adding filter on field &quot;Display Name&quot; with operator ‘Matches Patterns’.
  So users can use the <code>|</code> character between names to search multiple contacts.</p>
  <p><a href="https://i.sstatic.net/LhC7Vchd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LhC7Vchd.png" alt="Display Name filter" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-21T14:40:27.160Z
Answers.LastActivityDate: 2024-05-21T14:40:27.160Z
Answers.UserDisplayName: masetto
Answers.Body: <p>Have you tried SearchKit? It's pretty easy to an &quot;Or&quot; group.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-04T06:28:02.340Z
Answers.Text: In SearchKit in the filter conditions I should set the filter based on a parameter of the FormBuilder Filter...I do not know how to do this.  Or is there another method?
Answers.UserDisplayName: masetto
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-04T13:46:46.200Z
Answers.Text: It sounds like you don't just want to use SearchKit by itself but you want to build a search form, is that correct?
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-04T17:13:42.770Z
Answers.Text: yes, it is correct
Answers.UserDisplayName: masetto
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-04T17:22:28.790Z
Answers.Text: I was thinking of a single input filter where you could use with the syntax ‘<name1>,<name2>,etc.’
Answers.UserDisplayName: masetto
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-03T20:00:12.170Z
Answers.LastActivityDate: 2024-05-03T20:00:12.170Z
Answers.UserDisplayName: Coleman
Body: <p>I would easily search for contacts whose name is e.g. 'John' or 'Michael' or 'Kevin', etc.</p>
  <p>I could use SearchBuilder, but it is very tedious to set filters each time. Or create a similar extension as <a href="https://github.com/bhahumanists/bha.searchbuilder.." rel="nofollow noreferrer">https://github.com/bhahumanists/bha.searchbuilder..</a>.</p>
  <p>With FormBuilder I don't know if you can create a 'repeated' filter for the contact.</p>
  <p>Do you have any ideas?
  Thanks</p>
  
Tags: <search><formbuilder><search-builder>
Title: Search a list of contacts (multiple "OR" clause for name)
ThreadText: # Search a list of contacts (multiple "OR" clause for name)
  
  (Asked by: username_0 on 2024-05-02)
  
  I would easily search for contacts whose name is e.g. 'John' or 'Michael' or 'Kevin', etc.
  
  I could use SearchBuilder, but it is very tedious to set filters each time. Or create a similar extension as <https://github.com/bhahumanists/bha.searchbuilder..>.
  
  With FormBuilder I don't know if you can create a 'repeated' filter for the contact.
  
  Do you have any ideas?
  Thanks
  
  **Tags:** search, formbuilder, search-builder
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2024-05-21. Score: 1
  
  I solved this with a trick creating a search form with FormBuilder and adding filter on field "Display Name" with operator ‘Matches Patterns’.
  So users can use the `|` character between names to search multiple contacts.
  
  [![Display Name filter](https://i.sstatic.net/LhC7Vchd.png)](https://i.sstatic.net/LhC7Vchd.png)
  
  
  ---
  
  ### Answer by username_1 on 2024-05-03. Score: 0
  
  Have you tried SearchKit? It's pretty easy to an "Or" group.
  
  > **Comments:**
  > **username_0**: In SearchKit in the filter conditions I should set the filter based on a parameter of the FormBuilder Filter...I do not know how to do this.  Or is there another method?  
  > **username_1**: It sounds like you don't just want to use SearchKit by itself but you want to build a search form, is that correct?  
  > **username_0**: yes, it is correct  
  > **username_0**: I was thinking of a single input filter where you could use with the syntax ‘<name1>,<name2>,etc.’  
  
  ---
  
  