Home › Forums › Backend Issues (wp-admin) › Dynamically Loading Values From Adjacent Fields › Reply To: Dynamically Loading Values From Adjacent Fields
Amazing, thanks. I added in a little extra code as I’m using a unique ID for the questions (in case they change the question text):
$question = get_post_meta($post_id, $repeater.'_'.$i.'_'.$subfield, true);
$uid = get_post_meta($post_id, $repeater.'_'.$i.'_'.'uid', true);
$this->choices[$uid] = $question;
Thanks again! Really appreciate you taking the time to look at this.
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.