Home › Forums › Add-ons › Repeater Field › Repeater rows don't save new files › Reply To: Repeater rows don't save new files
Can you please perform some debugging to find the issue?
First save a file (I am to assume this works correctly for the first row)
Now edit your code to print the variable before saving like so:
$field_key = "documents";
$value = get_field($field_key, $post_ID);
echo '<pre>';
print_r(value);
echo '</pre>';
die;
What is the $value?
I think the issue may be fixed by changing $field_key to actually use the field key, not the field name
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.