Support

Account

Home Forums Backend Issues (wp-admin) Load dynamically fields on select change Reply To: Load dynamically fields on select change

  • The other issue is that your match rule always loads the postmeta.

    After you change the sleect box and fire off the AJAX call, WP has not yet updated this value into the DB, so your get_post_meta will not work.

    Again, take a look at the source code for ACF’s location controller to see how it gets the JS dynamic value! Best example is the page template match rule

    Thanks
    E