selectbox: ACF fields not found + value/key wrong way around?
-
thanks for this great plugin, have been looking around for it for quite a while, and hope this issue gets solved so i can move on to the pro version (i need it as widget and i need a search button instead of ajax results).
i’m having problems with the selectbox. i’m trying to pick custom fields values assigned to posts and attachments using Advanced Custom Fields, but nothing i’ve tried works. i’m also confused by the Value:Key fields i have to fill: Value seems to appear as Key…
1) i add a Selectbox to the Form Elements
2) i select the meta in Postmetas
3) i select Individual
4) values appear below, in this fashion:
a:1:{i:0;s:11:"accessories";} (a:1:{i:0;s:11:"accessories";})
i’ve tried using
a:1:{i:0;s:11:"accessories";}
as Key (with “Accessories” as Value), as Value (using “Accessories” as Key), as both, but nothing changes, i always get no results.the site uses WPML, so i’ve created the page in the other language, with the same shortcode: nothing there either.
what am i doing wrong? is it serialized data? how else can i integrate your plugin with ACF then?
on the confusion about Value:Key, afaik Key is the “label” and Value is, well, the value (i.e. key=color value=red), but what i put in your Value field is what appears as the option’s text in the select menu.
am i missing something here too, or shouldn’t it be the other way around?thanks for any help
- The topic ‘selectbox: ACF fields not found + value/key wrong way around?’ is closed to new replies.