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.

Link to file rather than upload

  1. bleepa
    Member

    Hi,

    Is there any way to use the file upload field to save the link to the file (UNC path) rather than actually upload the file?

    Posted 12 years ago on Monday December 12, 2011 | Permalink
  2. You want to allow visitors to upload the file still, but you want to store the UNC path rather than the URI? And then where will you use that path? I'm curious what you're trying to do. Please post more details. Thanks

    Posted 12 years ago on Monday December 12, 2011 | Permalink
  3. bleepa
    Member

    Thanks for the quick reply.

    I basically want a field where the user can browse to a mapped network drive and point to a file and then submit the form with the field storing the UNC path to that file.

    I don't want the form to upload the file that has been selected.

    Hope that makes sense.

    Posted 12 years ago on Monday December 12, 2011 | Permalink
  4. I see what you're trying to do now. Not upload the file, but submit the path only. I don't think you can do that with a file upload dialog in a browser. You might have to fake it with JavaScript to get the path, and then submit that to the form in a text field, not the file upload field. You'd have to write some functionality to make it look like a file upload dialog to the browser, to trigger the browse dialog on the user's computer.

    I don't know exactly how to do this, as it won't be Gravity Forms functionality, but I will leave this open for other suggestions.

    Posted 12 years ago on Monday December 12, 2011 | Permalink