I have a form that allows you to edit a page via ajax and it includes ACF forms fields. However, if a repeater field is used and reordered then serializing the form is returning the original order and not the new order?
ACF is indexing the repeater field inputs so when you use js serializeArray() it will always return the indexed order. But when you insert a new row or reorder the inputs inside a repeater field the indexed inputs do not update.
How to get the reordered repeater field data via JS so that it can be saved correctly?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users