I have a repeater field, every time a user adds a row I would like one of the fields to automatically be populated with a 4 digit number.
I would also like to keep track of this number in an options page.
Imagine this would be like a post id but for repeater fields, this has to be unique and keep increasing every time a user saves a repeater row.
These repeaters are in every custom post type edit screen.
How can I implement this?
I just need guidelines and functions I could use.
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
ACF PRO’s Flexible Content field allows you to create smaller pieces of UI and compose them into whole flexible patterns. In our latest article, we show how to use it to create swappable site sections and integrate it all in a theme.https://t.co/ZRocH8oJSp