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?
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!
💚 Written in @preactjs
💚 Using @tailwindcss
💚 You can use Preact components in Markdown file pic.twitter.com/WqB29fsnrg
© 2020 Advanced Custom Fields. Subscribe