Home Forums Feature Requests Copy/paste functionality for the repeater field (with demo)


Copy/paste functionality for the repeater field (with demo)

    • AdamACF

    • March 16, 2019 at 2:45 am

    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:

    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.

  • Adam,

    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!

    • AdamACF

    • April 25, 2019 at 9:16 pm
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.