I have a classified site with 2 fields 1st field is "Breed of Cow" 2nd field is "X Breed of Cow"
I have a view with a custom search drop down filter that can search the first field, but I want it to include the results from the 2nd field also. How can I do this?
If this cant be done can is there a workaround: For example I have a post title which is made up of the two breeds, can I create a drop down that searches the title (unfortunately I don't want to use a text search but it does work) I need users to select from a pre determined breed
If you do not pass it's values to the Filter, then the Filter cannot filter by it.
Just adding a Query Filter by this field does not help, as the Custom Filter must submit the value you chose to the URL parameter.
If you manage to combine the 2 fields in the Search input, then probably you can as well neglect one of both fields and add both pieces of information to one field only, as then the information would not differ that much to put it in different fields.
But it is not possible to add values from one field to another field's Custom Search input with those hooks.
You could however filter the output additionally by any value conditionally to what you select, for example.