I am running a search query and on my search page I have various fields for advanced searching for custom fields. However, if one of the custom fields is not filled out, then it displays no results. In other words, all the fields have to have a proper value for it to show any results. I don’t want that. I want it to show the relevant results if they just entered a name and city, or if it was just a last name and state, etc.
Here is the code, any help is greatly appreciated.