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.

Getting form entries from database into a txt file?

  1. Our client needs to be able to access a .txt of form entries. They have setup a sample how it needs to be formatted - http://liveonaz.org/dnaz/fdonor.txt

    We can currently export it like that no problem - but the client has a script that can automatically grab a txt document and insert it into their main database so we need some way to have this file automatically be created somehow?

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink
  2. kyle
    Member

    You would probably need to write a script/plugin that queries the entries and outputs them in that format. If you look at the built in GF export functionality as a guide, you should be able to figure out something.

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink
  3. David Peralty

    I agree, this isn't built-in currently. You would have to custom create something that pulled the values from Gravity Forms and outputted them the way you've set up. I will say though that a CSV is really just a text file formatted a certain way. You can even change the column separator if that will help get you closer to what you want:
    http://www.gravityhelp.com/documentation/page/Gform_export_separator

    Posted 12 years ago on Tuesday April 24, 2012 | Permalink