joer80 Posted May 23, 2016 Posted May 23, 2016 I am trying to write a selector to populate a drop down (page field) in the "Custom selector to find selectable pages" section. Is it possible to do this following: isCity=1|id=58617 I want the page list to show if it is a certain id, or if it is marked as a city. (To get an "all cities" option) Thanks!
joer80 Posted May 23, 2016 Author Posted May 23, 2016 That works great! How did you know to do it that way? I couldn't find this in any of the documentation!
adrian Posted May 23, 2016 Posted May 23, 2016 That works great! How did you know to do it that way? I couldn't find this in any of the documentation! https://processwire.com/api/selectors/#or-groups 1
joer80 Posted May 23, 2016 Author Posted May 23, 2016 https://processwire.com/api/selectors/#or-groups wow, I totally just missed it. lol 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now