Not entirely
If you have a CF called “Hero CF” with a field “main_title”,
and a CF called “Intro CF” with a field “main_title”,
and then apply those both to a page/post, it can’t distinguish the fields.
(I believe updating the second field in the admin, will modify the first as well…since the field for both is still “main_title”)
In which case I think it’s probably better to give each CF a containing group (hero, intro) so you end up with fields eg “hero_main_title” and “intro_main_title” (but can still be accessed by “main_title” in code for that Group)
Anyone have better suggestion?
Thanks.
Hi John,
thanks for the example. this is the approach I eventually thought would be the case. I was going to save a taxonomy to query on eg “has_multiple” but if i can do a query on all items where meta value related_employees_count > 1 , that would do it
thanks again
J.
Sorry,
I was pointing the field to itself, rather than the other CF (had them named the same)
J
I am having a similar problem with the latest free version.
the problem only happens in Chrome and IE. Firefox is fine
I have 3 CF’s on a page with logic controlling each (selecting the last item in the select box on CF1, brings up CF2, selecting an item on CF2 will bring up one of a number of CF’s for CF3)
When I select anything in the drop downs, all CF’s apart from the first one disappear. again in Firefox it’s fine though, i see an ajax spinner and the fields appear
i thought it might be because I have multiple “If Post Taxonomy = [something]” logic entries where each taxonomy condition points to a different Custom Taxonomy but i reduced it to one taxonomy and the problem still existed.
I looked at the ajax response body.. in Firefox i get several back eg [121,156,150,163]
in Chrome i get some blank entries then 121 (121 is the first CF)
I do get this warning in chrome from jQuery when i first load the page. I don’t know if it is related “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience.”
discussed here http://stackoverflow.com/questions/27736186/jquery-has-deprecated-synchronous-xmlhttprequest
any advice greatly appreciated
thanks
j
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.