I’ve had a few projects where the repeater field was needed for a fair amount of tabular data. I’ve sometimes been tasked with inputting the initial data once I’d developed the site and the time consuming nature of this work had me searching for solutions.
As of writing I can’t find any copy/paste plugins for the repeater field and ACF can’t handle this itself natively.. so I ended up making a version of this myself and just wanted to share as well as making this suggestion.
My last project requiring this tabular data straight out of Excel sheets was needed to go into the repeater rows. I then generate fancy html5 graphs in the website front-end using the chartjs library. As this project needed a fairly substantial amount of date/number input into repeater fields for multiple graphs I felt it was time to have a go at hacking around in jQuery to automate this.
The result could be improved a fair bit as right now it only supports text and date fields right now but that’s simply because its all I need for my particular projects. Still it is somewhat polished and tries to handle variable columns and data that it knows won’t paste correctly. A video of it in action is here: https://youtu.be/Sr_ZBnyHKnw
I’d love to see this kind of functionality added to ACF as I can’t be the only one that has setup repeater fields and thought this.
This functionality would be incredible. I’m building a music schools search engine right now and our data researchers are constantly being slowed down by repeater fields. Would you be willing to share your source code with us? I’d be happy to help implement some improvements as well as a way of saying thank you!
Dude! Adam! This is what we need. It looks like you might have shared the solution you came up with, but it’s not on the page anymore? Is it something you can share with me?
Yes, this is exactly what I am looking for!
Could you please share what solution you used to work in your demo?
Adam, I’d be very interested in helping out with the development as well! Are you still working on the functionality for this?
Hi all, I’m so sorry this took me so long. I’m so short of time all personal projects don’t go very far normally and I knew I needed to clean this up before sharing it with anyone.
What I’ve done is now available with some basic documentation here: https://github.com/arkid/ACF-Fiddles/tree/master/ACF%20Repeater%20Copy-Paste
I hope it helps some of you, do share if it does!
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
Helping others is a great way to earn karma, gain badges and help ACF development!
🌌 Nova is here! Our brand new code editor. Packed with features. Built for modern workflows. Lightning fast. Stylish. With a robust extensions architecture.— Panic (@panic) September 16, 2020
And, best of all, it's an extremely Mac-app Mac app.
We hope it makes your work wonderful.https://t.co/8BPXCadvnE pic.twitter.com/izz5FP424L
© 2020 Advanced Custom Fields. Subscribe