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.

"no file selected" text - Safari only for attachment button

  1. I have a GF form with an attachment upload button. Everything is fine in all browsers except Safari - where it says "no file selected" to the right of the attach button.

    How do I fix this?

    Posted 12 years ago on Monday October 29, 2012 | Permalink
  2. Are you talking about AFTER the file has been selected or the default text?

    Posted 12 years ago on Monday October 29, 2012 | Permalink
  3. no- default text. I have since learned that this is default behavior for about every iOS device - nothing you can do about it - no way to customize or remove it (that I know of). Have you heard of this?

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  4. Yes, I'm aware of it. The "file" type field is rendered completely differently in several browsers on a variety of platforms. The input is pretty locked down for security reasons and there's not anything that you can really do about making it look the same across all the browsers unless you use one of those complex jQuery scripts that hides the input and displays an image background, etc.

    http://www.quirksmode.org/dom/inputfile.html

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink
  5. Also - keep in mind that because this is a browser defined input, users will be accustomed to seeing the input render that way on every site they visit in that particular browser. So, while it might not look the same in every browser, to the user of the browser, it's fine/normal.

    Posted 12 years ago on Tuesday October 30, 2012 | Permalink