Thanks for the link but that tutorial is using native select boxes, with multiselect enables those can be a problem (accidental clicks, without pressing ctrl etc, just really annoying) 😛
I’ll give the select2_args idea I had a try and update here if it works as expected.
I noticed there is a load over AJAX option. Does it in some way allow me to hook in at javascript level to send an extra parameter? That way I’ll be able to access it in wordpress filter.
Update 1 :
select2_args might be usable
Source: https://www.advancedcustomfields.com/resources/adding-custom-javascript-fields/
I’m afraid that wont work for me, I need to limit options of selectbox 2 based on the choice selected in selectbox 1.
What you have mentioned above would require updating the post. I got several dependent fields like this, forcing a page refresh on updating a field value would not be a good experience to the person doing the data entry.
Sure, as it was a question and not an issue I asked it here.
Link to the issue on github if someone stumbles upon this later.
https://github.com/Hube2/custom-field-converter/issues/7
I need some help understanding what to fill up in the forms.. What does the ‘Pointer field’ and ‘Fields’ refer to? Screenshot : http://i.imgur.com/TOWtO7T.png
Suppose I have custom post type CPT_A with custom field CF_A which is a relationship field type.
I need to update/sync the custom field CF_B of another custom post type CPT_B ..
How do I go about it?
Cool 🙂 I don’t have a need to that atm but its good to know what it does 🙂
Thanks 🙂
I’ve been trying out your plugin and its great.
Btw what does the related post thing do?
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.