Forums › Forums › Search & Filter Pro › Populate a select drop down with Advanced Custom Fields Meta
Tagged: acf, auto populate, select drop down
- This topic has 2 replies, 2 voices, and was last updated 9 years, 6 months ago by Anonymous.
-
Anonymous(Private) May 15, 2015 at 12:44 pm #17581
Hello,
I have a website which lists cars. and wish to search and filter by the manufacturer and model etc etc.
in the search and filter i have selected Post Meta and then selected the Post_Meta field that it will filter.
But rather than use the options provided in the search and filter plugin to define the list of options i can select from, i want to populate this select field with a list that is created in an advanced custom fields meta field on an options page that i have made..
Is this possible?
Ross Moderator(Private) May 17, 2015 at 7:13 pm #17694Hey Richard
No, not yet – for you now all you can do is use the “auto suggest” feature – which will search through existing posts and find possible values.
I’m looking at providing better integration with ACF further down the line.
Thanks
Anonymous(Private) May 18, 2015 at 9:38 am #17743Ross,
Ahh ok.
am i able to hook into the select drop down thats populated by S&FP?
as the select i need is pretty important to the project i am working on.
person selects Manufacturer.
Then the next select box is filtered by the Manufacturer to produce a list of Models for that Manufacturer.
I have it setup like so:
ACF Repeater with Manufacturer and another repeater inside to produce the Models all on an options page.
If you can imagine its pretty important to be able to do this when searching through cars as they are the main defined filter options that a user would require.
Thanks for any help in advance.
-
AuthorPosts