• Resolved i_Mike

    (@i_mike)


    Hi Michael

    First of all many thanks for that powerful plugin:)

    In your reply you’ve said:

    “You can set form=”*” to get information from all forms or list the form names using form=”form1,form2,form3 in a short code.”

    I’m trying to export fields from multiple forms into one CSV file using the following shortcode:
    [cfdb-export-link form=”*” show=”Company,notes,contractors-name,trade,friends-name” limit=”5″ enc=”CSVUTF8″]

    However when I do that I get a file with only the titles of the columns and no data unfortunately…
    I’ve also tried to list form names in the format that you’ve specified: form=”form1,form2,form3″ however then I only get data from the first form and not the others.

    Is it possible to export data from multiple forms using shortcodes or is there any other easy way to do that?

    Thanks in advance
    Mike

    https://www.ads-software.com/plugins/contact-form-7-to-database-extension/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter i_Mike

    (@i_mike)

    Ignore me, actually it works how you said it should, but I just found out that that’s not a solution for me as when you export the CSV, the rows won’t match and that will create a bit of a mess in the CSV… I just have to create one big form, unless there is a way to bind the submissions from different forms to stay in the same rows?

    Plugin Author Michael Simpson

    (@msimpson)

    I think you are saying that you want a certain row from form1 to be connected to a certain row in form2, then export the CSV as one row that combines both.

    That could be done but will take a bit of coding on your part. You would have to create a Transform Class to process the rows and organize them into the combined rows that you want. You then add that transform to your shortcode.

    Thread Starter i_Mike

    (@i_mike)

    Many thanks for your reply. Yeah I want the rows to match from one form to another but I think it will be just easier to create one form in my case.

    Thanks again for quick reply:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Export one CSV from all forms’ is closed to new replies.