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.

File Upload through GF in front-end to ACF in back-end

  1. I created a simple form with a single purpose, to create a post and give the logged-in user in the front-end the possibility to upload a document through the file upload field. It's creating the post, but I can't figure out how to connect Gravity Form's file upload field to the Advanced Custom Fields file upload field in the back-end.

    I've chosen a ''Custom Field'' for the form from the ''Post Fields'' and set the custom field name to ''Existing'' and chose ''file_upload'' which is the Advanced Custom Fields field name that I use in the back-end.

    http://www.modassicmarketing.com/support/gravityforms/Screen%20Shot%202013-06-28%20at%209.15.58%20AM.png

    This is how the front-end looks like if anyone cares to see:

    http://modassicmarketing.com/support/gravityforms/Screen%20Shot%202013-06-28%20at%209.33.36%20AM.png

    Submitting a document works flawless:

    http://modassicmarketing.com/support/gravityforms/Screen%20Shot%202013-06-28%20at%209.35.00%20AM.png

    Gravity Forms created the post through the document upload. But the file is not where it's supposed to be.. in the Advanced Custom Fields upload field:

    http://modassicmarketing.com/support/gravityforms/Screen%20Shot%202013-06-28%20at%209.36.12%20AM.png

    Does anyone know what I'm doing wrong?

    Posted 11 years ago on Friday June 28, 2013 | Permalink
  2. I've pinged the dev team to see if they might have any ideas for you.

    Posted 11 years ago on Friday June 28, 2013 | Permalink
  3. Thank you very much.

    Posted 11 years ago on Friday June 28, 2013 | Permalink
  4. Any updates on this? Thank you

    Posted 11 years ago on Monday July 1, 2013 | Permalink
  5. We played around with this a bit and had no luck. Gravity Forms saves the items correctly when it is regular custom fields. When we used Advanced Custom Fields to create a new custom field, that field did not show as an option to which we could map our custom post field in the form. And if we typed the custom field name given to us by ACF into the custom post field as a new custom field (instead of the existing radio button), it was treated as a new custom field, not an ACF one.

    I think you will need to talk to the creators of ACF to see how it should work. We did notice they have some Gravity Forms add-ons for it so they are familiar with our product.

    Posted 11 years ago on Monday July 1, 2013 | Permalink
  6. Thank you very much. If you create a post in the back-end first and upload something through the ACF field (instead of trying to create a post with gravity forms), the name of the field is actually then listed as an option in GF. Does this help you guys in any way to look into it further?

    Posted 11 years ago on Tuesday July 2, 2013 | Permalink
  7. Did that help in any way?

    Thank you.

    Posted 11 years ago on Monday July 8, 2013 | Permalink