Support

Account

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.