Hi, I am trying to create a search where the user can select or deselect a number of Food Types by clicking on various buttons and the search then includes all Food Items that have one of the selected Food Types and displays them in a Repeating Group. I know about how to merge a number of searches in lieu of using OR. What I don’t know is how to make the search refer to the Food Types that are listed on each button (if they are clicked).
a) Should I be creating a Thing called ‘Search’ and adding each Food Type to a list in the Search thing using workflow? This would allow me to save a history of Searches, but I do not know how then to make the actual search match all the criteria contained in the ‘Search’ thing
b) Should I be putting the buttons in a separate Group, and create a custom state called ‘FoodTypeList’ which is the list of selected Food Types (via the buttons)? But then, I don’t know how to get the Custom State to update as buttons are selected or deselected, and nor do I know to get the ‘Repeating Group search’ to refer to the custom state.
c) or something else?
Thanks for your help,
Simon