Hello. I wanted to find out which file I can edit to add to the file upload message so the user filling out the form can read "Please be patient while we upload your image" because the spinner just doesn't see adequate for the average user.
Hello. I wanted to find out which file I can edit to add to the file upload message so the user filling out the form can read "Please be patient while we upload your image" because the spinner just doesn't see adequate for the average user.
There isn't anything you can edit to make it do this. What you want is much more complex than a quick edit of a file. Gravity Forms uses the standard File Upload field, it doesn't use any kind of Flash or AJAX based uploader. We do plan on enhancing this in the future with progress bar, etc. but it will require us to implement a more advanced file upload feature using AJAX and/or Flash to accomplish this. It is on our to do list.
Where is the init for the .gif spinner? I am sure I can hack a line of text next to that while .gif spinner is loading. Is it in the javascript?
It's going to be related to form_display.php. We don't support changes to the core plugin code and only advocate customizations through the use of hooks and filters. So if you change the core plugin, just be careful you don't mess anything up.
Thanks.
I see it is added with filters currently. No filter / hook to add for a line of text?
Or as I look at the form can't there just be a replacement for the "No file chosen" text while the file uploads in that same area?
The "No file chosen" text is rendered by the browser and isn't customizable. It's message and interface is browser specific and varies from browser to browser. There isn't much control over this functionality due to the way it works. It's not like a flash or ajax based file uploader. It's exclusively controlled by the browser itself.
There is a hook for changing the spinner icon. You could create an image that consists of text rather than a spinner. But it needs to be an image, not plain text. The hook is here:
http://www.gravityhelp.com/documentation/page/Gform_ajax_spinner_url
Ahh gotcha. Thanks for the info. This way I don't hack the core.