Workflow Navigation Based On At

Feeling silly here, but I simply cannot figure out how to check the count of search results in a conditional statement. Below is a brief summary to an app that is simply querying for ‘offers’ based on a string in a text field.

When the user clicks a button, I’m trying to do the following…
1.) Perform search of offers
2.) if count of search results = 0, then display a text element for ‘no results found’
3.) if count of search results >0 then navigate the user to the offerDetails page.

However, in my conditional checks, I can’t compare the search results’ ‘:count’ to an integer. I’m getting the hang of bubble’s data/app model but i’ve certainly got room to grow; I’ve search google and these forums but am not finding an answer (likely because I’m not asking the right question).

Any help would be appreciated!


Thanks!

Hey, you should be able to just type a number

Thank you @julianalonso! I thought that’s what I would do as well; however, when I key in a number (i.e. 0) i am forced to select only from an attribute that matches the search; in this instance, display dimensions that contain 0.

Disregard; it does work as you stated… I think I simply assumed that the only valid input would be an item from the ‘type ahead’ and didn’t simply click after typing my integer. Thank you again

Follow Up: Actually by clicking the app does select an item from the ‘type ahead suggest;’ it seems you have to simply click away from the field after entering the integer