Home › Forums › ACF PRO › Ajax loading acf_from() and no taxonomies fields displayed. Select2 not load. › Reply To: Ajax loading acf_from() and no taxonomies fields displayed. Select2 not load.
Hi James,
Yes I saw it , but to be honest it’s my first time with ajax and I don’t know where to start.
I’ve read, that in my called via ajax template should be placed sth like that:
<script type="text/javascript">
(function($) {
acf.add_action('load', function( $el ){
});
})(jQuery);
</script>
and stuff connected with field.
But I’m not sure what method should be called.
I’ve noticed that in form there is no full info about all taxonomy terms, only this which was previously chosen are showing up. So values are not loading.
Lets say my field key is field_5614c8100ca95.
How to start ?
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.