> ## Documentation Index
> Fetch the complete documentation index at: https://help.broadstripes.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search by event-related info

> Search for people by the events and event steps recorded on their records.

## Intro

Many Broadstripes projects use **events** and **event steps** to capture particular actions in the workflow of a given campaign activity, for example:

* To track petition signatures
* To track invitations, RSVPs, and attendance for a meeting or rally
* To record whether someone has signed a membership card
  Keep in mind that **events** are created and customized by users and admins, so each project will have its own unique events. (Learn more in the [creating events](/docs/customize/create-events-to-track-goals) article.) Even though events are unique to your project, **Broadstripes search** allows you to search by any event step you create. You can even combine event-based information with other search criteria.

## Search by event step

For this example, we're going to show you how to do a search for anyone who has showed support for our campaign, but hasn't actually signed a card yet.

1. Start your search by clicking the **Search builder button** to the right of the search box at the top of the page.<img src="https://mintcdn.com/broadstripes/km81db1tgJpj8Z20/images/search/SearchSearchBuilderButton2021-e1610573892873.png?fit=max&auto=format&n=km81db1tgJpj8Z20&q=85&s=ce02b48e651c1d65030f9a7e558c2b19" alt="" width="1756" height="156" data-path="images/search/SearchSearchBuilderButton2021-e1610573892873.png" />
2. A **search building panel** will open below the search box.<img src="https://mintcdn.com/broadstripes/D4U81vN_HfTYCCMy/images/search/2fb6ebd-BuildSaveSearchDefault.png?fit=max&auto=format&n=D4U81vN_HfTYCCMy&q=85&s=445f69ff2b605e8d23e69eb8300580f9" alt="" width="1032" height="251" data-path="images/search/2fb6ebd-BuildSaveSearchDefault.png" />
3. Initially, the panel will offer to search by **Employer (in or below)**, but you can easily change that to search by a whether or not their card has been signed, their assessment, or any other criteria.
4. Since we want to limit our search to workers who haven't yet signed a card, we'll set that up first. We'll do the search based on an event in our project called "**Card**" to find all the people who have a certain status for the event step "**Signed**." Click the rule's **field button** to open the field picker, then choose the **Card - Signed** step under the **Events** group — or type "**signed**" into the **Search fields** box to jump straight to it.

<img src="https://mintcdn.com/broadstripes/CE755sIdOP0vpmWL/images/search/3555eb1-BuildSaveSearchCardSigned.png?fit=max&auto=format&n=CE755sIdOP0vpmWL&q=85&s=55c35a20858cc9eaebd74981a12ab40d" alt="Search builder with Card - Signed selected as the field" width="480" height="550" data-path="images/search/3555eb1-BuildSaveSearchCardSigned.png" />

5\. When you pick an event step field, the search builder automatically sets the operator to "**is checked**." Since we only want to see workers who have *not* signed a card, change the operator to "**is not checked**" in the middle drop-down list.
6\. Our first search criteria (also called a "**rule**" in Broadstripes) is complete.
7\. Next, we’ll need to **add another rule** to the search, since we also want to see only those people who we know were assessed as supporters. Add an additional search rule by clicking the **+ Add rule** button located above and to the right of the existing search rule.

<figure>
  <img src="https://mintcdn.com/broadstripes/D4U81vN_HfTYCCMy/images/search/2523f4d-SearchMultRuleAddRule.png?fit=max&auto=format&n=D4U81vN_HfTYCCMy&q=85&s=631c91e8dfdd011b08085bc002912b93" alt="Add another rule" width="1022" height="149" data-path="images/search/2523f4d-SearchMultRuleAddRule.png" />

  <figcaption>Click the + Add rule button to add another rule to the search.</figcaption>
</figure>

8. We'll leave the first rule we created as it is and begin configuring our second rule. This rule will limit our search results to the workers who have shown support (those with an assessment code of 1 or 2).

9. To create the second rule, we'll click its **field button** and select **Assessment** from the field picker.

10. In the center drop-down list, we'll choose "**is less than or equal to**."

11. To complete this rule, in the right-hand text box, we’ll type **2**.

<figure>
  <img src="https://mintcdn.com/broadstripes/km81db1tgJpj8Z20/images/search/7ec72a0-SaveSearchAssess2.png?fit=max&auto=format&n=km81db1tgJpj8Z20&q=85&s=52e64adbe2de7fd1456799ac161859c2" alt="Complete second rule" width="2092" height="670" data-path="images/search/7ec72a0-SaveSearchAssess2.png" />

  <figcaption>A **search for “Assessment is less than or equal to 2”** will show us supporters with assessment codes of **“1”** and **“2”** but not **“3”** or higher.</figcaption>
</figure>

12. Last, we need to check how our two rules are combined. Since our search depends on *both* rules being true — to find people who have not yet signed a card *and* who have a supportive assessment — we want **Match all of the following** at the top of the builder. Matching “all” is the equivalent of the Boolean **AND** operator; choosing “any” would use **OR** instead.

<figure>
  <img src="https://mintcdn.com/broadstripes/km81db1tgJpj8Z20/images/search/b979a7e-SaveSearchAND.png?fit=max&auto=format&n=km81db1tgJpj8Z20&q=85&s=b9ba214c069c1a5d9a49176c69c606af" alt="Boolean operator AND" width="2020" height="132" data-path="images/search/b979a7e-SaveSearchAND.png" />

  <figcaption>With **all** selected, the two rules are combined with **AND** — you can see it in the search language preview below the rules: `cardsigned = no AND assessment <= 2`.</figcaption>
</figure>

<Info>
  Boolean operators are used in searches to connect and define the relationship between search rules. Broadstripes uses two Boolean operators: AND and OR.

  Use "**AND**" to run a search where *all* of the rules are true.\
  Use "**OR**" to run a search where *at least one* of the rules is true.
</Info>

13. Click the **Search** button to run the search. All the workers who have not yet signed a card and who have a supportive assessment will display in the **Search results page**.

## More

Great work! You've learned how to search events for unsigned cards. What if you'd like to run this search again in a week to see how many new cards have been signed? Check out our article on building a date-based search to learn how:

* [Search event-related info using dates or a time-frame](/docs/search/search-by-event-using-dates/)
