Support

Account

Home Forums Bug Reports ACF Repeater sub-fields are losing / swapping content when re-ordered Reply To: ACF Repeater sub-fields are losing / swapping content when re-ordered

  • I don’t even need to see the video to understand what’s happening.

    1. I have 4 rows in a repeater field
    2. I add content to each row
    3. I save the page
    4. I click the box in each row to hide the fields
    5. I drag row 4 to row 1
    6. Expand row 1
    7. I save the post
    8. The content for row 1 is updated
    9. The content in row 2, 3 and 4 should remain the same as they were before I dragged row 4 to row 1 because these values were not submitted, they were hidden by conditional logic

    Conditional logic is for fields that will not be used or submitted rather than as a convenience to make the admin more readable, even if it is tempting to do so. ACF has a built in ability to collapse repeater rows that can be used for this purpose. My guess is that if the developer expands conditional login to include this use that there will be people submitting bugs because these conditional values are being saved when they should not be.