Support

Account

Home Forums Add-ons Flexible Content Field Duplicate Flex Field Reply To: Duplicate Flex Field

  • None that I’m aware of.

    If I was going to try to do something like this I would…

    1) get the entire inner HTML of the layout
    2) generate a new uniqid for a new layout and then somehow insert the entire layout into the page
    3) get all of the fields that might be in the layout by looking for “data-key” and “data-type” values
    4) trigger some kind of event on each new field to make ACF refresh it

    Like you said, it’s pretty messy and would take a lot of work just figuring out what events to trigger. I think that if someone were to create something like this there’d be a lot of people willing to pay for it.