• Resolved speakincode6

    (@speakincode6)


    I’m curious if it is possible to separate Repeater subfields into their own columns with this plugin. Much like it already is working with Address and Name fields.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Doeke Norg

    (@doekenorg)

    Hi @speakincode6,

    Can you perhaps provide a copy of the plugin your using and send it to [email protected]

    I’ll try to take a stab at it. Multiple columns is an option, multiple rows not as of now. But I see you already found that topic ??

    Thread Starter speakincode6

    (@speakincode6)

    @doekenorg Thanks for the reply.

    I’m not using a plugin. I’m using the native Gravity Forms Repeater field, implemented programmatically, as found here:

    https://docs.gravityforms.com/repeater-fields

    I understand that an export file needs to have a set number of columns and a repeater is dynamic so matching the two up is problematic. My thought is, I can set a maximum limit to the Repeater to say 5 to help with that issue. So the export file can have as many static columns up to the limit of what the repeater will return.

    Plugin Author Doeke Norg

    (@doekenorg)

    Ah sorry I misunderstood. I’ll take a more in depth look. But for now I just became a dad today, so I have a few other priorities. Will get back to you asap. Hope you can wait.

    Thread Starter speakincode6

    (@speakincode6)

    @doekenorg Congrats!! Don’t worry about this issue.

    I really appreciate you reaching out so quickly. Just enjoy your family. I’ll reach back out in the future if need be.

    Take care!

    Plugin Author Doeke Norg

    (@doekenorg)

    Hi @speakincode6,

    Just wanted to let you know I’ve been looking into this. The field is still in beta, and it is not implemented fully.
    This has to become a feature as it is to complex to just give you some code.

    There is a limitation I think when it comes to nested repeater fields.

    I’ll be able to get all fields as columns. But all values will go in the same row. When multiple rows becomes a thing in the future, I’ll amend it, but this has to be it for now.

    Is that ok for you?

    Thread Starter speakincode6

    (@speakincode6)

    @doekenorg Thanks for looking into this! For the time being, I’ve decided to just manipulate the repeater data as an entry after it’s been submitted. I loop over the repeater fields, separate each repeater row into it’s own entry, putting each subfield in it’s own column. This solves the issue of dynamic repeater rows and static csv columns. I can always account for a set number of columns and just put each repeater entry as it’s own row.

    May not work for every application, but it’s what was best for my particular project.

    So thanks again for looking into this, but I’m good for now as far as this particular project.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Split Repeater subfields into separate columns’ is closed to new replies.