Support

Account

Home Forums Backend Issues (wp-admin) How use ACf Text Fields based on User field

Unread

How use ACf Text Fields based on User field

  • Hi,
    I tried to use: https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-text-based-on-user-select

    In ACF 5 pro I’ve imported group_57ab9d41279f5.json
    In my function.php (child themes) I’ve include:

    include dirname(__FILE__) . “/dynamic-text-based-on-user-select.php”;

    If try to view source code ynamic-text-based-on-user-select.js is load fine…

    <script type=’text/javascript’ src=’http://localhost/coop/valutazione_test2/dynamic-text-based-on-user-select.js?ver=4.9.4′></script>

    But if I create a new post and try to select user… field: “Username, Display name and email” they remain empty.

    Where am I wrong?

    Thanks a lot.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.