Home › Forums › General Issues › Pre-populate form with user fields in functions.php › Reply To: Pre-populate form with user fields in functions.php
Heya @rtm would you mind sharing the filter / function that finally worked for you on this? I’m trying to do the same thing but somehow am running into a wall. Or I’ve been up too long! Thanks.
In case it’s helpful, to be specific, I’m using acf_form() to allow people to fill in a frontend ACF form, and I want to log the user / id / name of the person who filled in the form. Can be a hidden function or a pre-filled form field that the person filling in the form can’t edit. So they can see that their name is logged or we can just do it in the background, I don’t care. When the acf_form() is saved, I’d like to write their user / id / name to an ACF field along with the rest of their form entry so we have a record of who filled it out.
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!