Use a field’s values in database to populate an exposed filter’s options
I have a content type with a field named year (integer).
In a view, I’d like to expose this field to the user as a filter.
Instead of the default text boxes, I want to populate select lists with the values in the database for that field. Then the user will just have to click to select.
My php code writing is on copy-paste level.
I am using D7.
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.