Support

Account

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

Unread

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: 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.

Viewing 1 post (of 1 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.