Home › Forums › General Issues › How to store a repeater row number as a value in another field › Reply To: How to store a repeater row number as a value in another field
Repeaters can be moved, so the row number may mean nothing if they alter the order of the repeater. They could also change the value of that row.
I would create an acf/save_post filter. I would use another field, outside of ACF to store “permanent_email_address” using a standard WP custom field using that used update_post_meta(), get_post_meta(), etc. When the post is first set up I would set this value.
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.