I use a text field to collect node data and need to sort for only specific values.
However I can only pass one value to the filter via the url. I would like to be able to do something like this.
?field_test_value=apple&?field_test_value=orange
I understand this can be done if a content field is a select list or checkbox but in this case it does not apply as the users can upload whatever they wish to the text field but I only filter for certain terms.
Comments
Comment #1
msakurada commentedIDK, but off the top of my head you need to loose the second question mark to properly format a query string. i.e.
?field_test_value=apple&field_test_value=orangeComment #2
netentropy commentedThat was just a typo. But it will not accept two. Thanks though.
Anyone ?
Comment #3
keyswebsites commentedYes, you need to configure a contextual filter to pass arguments to the view through the url, then just separate the values with commas or plus signs. Make sure you add the wild card of /% to the view page's path settings. HTH.
Comment #4
mustanggb commented