We know that you’ve been waiting for this feature for quite a while now … well the wait is over! With 4D v17 R4, multi-criteria search is now available in 4D for iOS!
After selecting your list form template, simply drop multiple fields into the search area to activate multi-criteria search. When specifying multiple values for the same field, an OR operator is used behind the scenes.
As shown in the picture below, you can easily edit your search area and remove fields by clicking on the button to make the field list appear.
If you’ve already built custom templates and want to activate this feature, you’ll need to modify your existing svg file and replace the search class from “droppable field optional” to “droppable field optional multi-criteria”.
<rect id="search" class="droppable field optional multi-criteria" x="14" y="0" width="238" height="30" stroke-dasharray="5,2" ios:type="0,1,2,4,8,9,11,25,35" ios:bind="searchableField"/>
You’re now able to run search operations based on multiple fields and display filtered content in your generated 4D for iOS app. Happy searching !