Home › Forums › Add-ons › Repeater Field › problems saving file type repeater field › Reply To: problems saving file type repeater field
That did it. I had to restructure a bit to get the correct flow for cycling through multiple file records, but it worked as you described.
A few follow-up questions —
1. why do we have to use the field key instead of the field name? I see no meaningful distinction between them, except that the field key is more cumbersome to work with.
2. why didn’t the add_row() (or update_row()) function work? based on the documentation, I should have been able to achieve what I needed using that function (which seems simpler and more straightforward than your solution).
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.