Support

Account

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 ?