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.

Form directly to SQL table?

  1. Glenn Hauman
    Member

    I'm trying to post directly to a SQL table from a form, but don't see any easy way to do so. Any suggestions?

    Posted 9 years ago on Wednesday August 22, 2012 | Permalink
  2. I'd love to learn a way to do this also.

    Posted 9 years ago on Thursday August 23, 2012 | Permalink
  3. You can use the gform_after_submission hook to send data wherever you like.

    http://www.gravityhelp.com/documentation/page/Gform_after_submission

    That hook has both the entry and the form objects available to it, so you can do whatever you want with the data. We can't help you with the code or the SQL to make it happen, but this is the hook you want to use to send your data direct to a database.

    Posted 9 years ago on Friday August 24, 2012 | Permalink