Home › Forums › Add-ons › Repeater Field › Programmatically update row index number for rows of a repeater field › Reply To: Programmatically update row index number for rows of a repeater field
Hey John, thanks for the reply!
What I’ve done instead is added a unique ID to each row using code from a previous post I found. Now I only need one more thing…
The unique ID is only saved to the row after the first “save” of the row data. Since I am adding/updating/editing the rows using update_sub_field function the “save” never fires. Is there a way to recreate pushing the update button of the acf_form. I don’t need it to update any data, I just need it to fire the creation of the unique ID.
Ps. Are you the only active person on this forum? It seems like I see your name everywhere! 🙂
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!
© 2022 Advanced Custom Fields.