Hi, I’m circling back on this. I went through and created a new plugin using that “create a new field type” link you provided. I wondering if you could recommend a direction on how to move forward.
Basically, we are using a page-builder created using flexible content fields and a number of add-ons. I’d like to add a button here:
That allows you to duplicate the entire row layout.
I’m sort of stuck on how to do the duplication itself. Would you recommend I use JS or PHP to duplicate the layout? If I go with JS, what sort of values would I have to increment in order to avoid problems when the database gets updated?
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.