Home › Forums › General Issues › Copying of repeating a field on the same page › Reply To: Copying of repeating a field on the same page
If you want to use a clone field of the same fields in the same page then you need to use the “seamless” setting when adding the clone field. If you use seamless then all then each time they are added they will have the same field names and it won’t work.
You can also to this by making the clone a sub field in a repeater. This has its own ups an downs.
Also, a clone field include in a layout for a flexible content field does not have the problems of duplicate field names, but again, these have their ups and downs.
I personally have not had great experiences using clone fields in flex fields and I now try to avoid them unless there is an important reason to do so. From the sounds of what you’re doing I would most likely use a repeater field, or a flex field and skip the clones.
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!
🚀 This week’s session of ACF Chat Fridays dips into the preliminary results of our first ever user survey. Don’t miss it! https://t.co/3UtvQbDwNm pic.twitter.com/kMwhaJTkZc— Advanced Custom Fields (@wp_acf) May 9, 2023
© 2023 Advanced Custom Fields.