PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Create CSV on the Fly

  1. Hello,

    I'm a developer looking into Gravity Forms for a client who wants some automation. Would it be possible for Gravity Forms to create a CSV file on the fly and attach it to the email notification that gets sent when the user fills out a form? The CSV file would be populated by the fields in the form.

    Thanks,

    Posted 10 years ago on Thursday December 13, 2012 | Permalink
  2. David Peralty

    Hi there, Gravity Forms doesn't have this feature currently, and so you would have to code this modification yourself. With some PHP and our hooks/filters system, you could definitely do this reasonably easily.

    Posted 10 years ago on Thursday December 13, 2012 | Permalink
  3. I've written a few custom themes and plugins for WP. Do you think a guestimate would be 8 hours or so to dig in and play around with the hooks and filters to create that file and attach it to the email?

    Probably another 8 if I want to be able to customize the backend so I can toggle which forms this applies to.

    Just a guess would be helpful. :)

    Posted 10 years ago on Friday December 14, 2012 | Permalink
  4. David Peralty

    I am an intermediate level developer and if I was going to do it, my best guess would be something like:

    2 hours development
    2 hours testing

    I wouldn't build an admin interface for it, and if I was to do so, then yes, the project might take a fair bit longer, but it definitely shouldn't be longer than sixteen hours. Our hooks system will allow you to grab all the details, and building a CSV isn't all that difficult. We have hooks for attaching files to notifications too.

    All my best!

    Posted 10 years ago on Friday December 14, 2012 | Permalink
  5. Wow, that sounds very easy. :)

    Thanks so much David!

    Posted 10 years ago on Monday December 17, 2012 | Permalink
  6. I'm looking to do something along the same lines as this post and was wondering if you had any success in developing this, BFTrick.

    If you could let me know I'd be grateful!

    Posted 9 years ago on Wednesday April 10, 2013 | Permalink
  7. You can find public contact information for BFTrick on their profile page http://www.gravityhelp.com/forums/profile/bftrick

    Posted 9 years ago on Thursday April 11, 2013 | Permalink