Support

Account

Home Forums Front-end Issues Saving a dynamic value from a front-end text field Reply To: Saving a dynamic value from a front-end text field

  • Hi @edmundcwm

    In this case, you need to use acf_form() to show the front end form. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/create-a-front-end-form/.

    But because you want to show the field from a user, then you need to pass the
    “post_id” with a different format. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/how-to-get-values-from-a-user/.

    So it should be like this:

    acf_form(array(
        'post_id' => 'user_'.99,
    ));

    Where 99 is the user ID.

    I hope this helps 🙂