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 🙂
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.