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.

Change upload path for specific file_upload field

  1. Hello,

    I think I know the answer to this question, but I want to be certain.

    I know how to change the file upload path on a per form basis.

    I need to change the file upload path for a specific file upload field.

    I'm using the Foxy-Shop plugin and am building a form that will create a new Product. I want the user to submit an image that will be used as the Foxy-Shop featured image, not the regular WP featured image. If I change the file upload path for all of the fil upload fields, I break this feature, as another file upload field's path needs to be changed. (if you're wondering why, it's because I'm creating self-hosted downloadable products).

    Thanks!

    -Jacob

    Posted 13 years ago on Friday September 23, 2011 | Permalink
  2. It can't be done on a per field basis, it can only be done on a per form basis or site wide. The hook only allows you to change it site wide or per form as documented here:

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

    Posted 13 years ago on Friday September 23, 2011 | Permalink
  3. Thanks Carl. That's what I thought...

    I might have to create a second form on that page specifically for the custom upload...

    -Jacob

    Posted 13 years ago on Friday September 23, 2011 | Permalink

This topic has been resolved and has been closed to new replies.