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.

Populate custom field with uploaded image path

  1. Kevin Geary
    Member

    I'm using a form to allow people to submit posts to a "portfolio." I really need gravity forms to automatically populate a custom field (the custom field used to display the thumbnail for the portfolio posts).

    So the person uploads a photo and gravity forms will automatically take the path of that photo and put it in the custom field.

    How can I do this?

    Posted 14 years ago on Saturday August 7, 2010 | Permalink
  2. I think this thread will help you out:

    http://forum.gravityhelp.com/topic/save-image-field-and-post-title-also-as-custom-fields

    Posted 14 years ago on Saturday August 7, 2010 | Permalink
  3. Kevin Geary
    Member

    David,

    I think that link holds the answer, but I have no idea what to do with the code snippets. Where do I put them?

    Posted 14 years ago on Saturday August 7, 2010 | Permalink
  4. The code snippet would go right in your theme's functions.php file. :)

    Posted 14 years ago on Saturday August 7, 2010 | Permalink