In the Protaculous Function Body editor, where you have the word
mousedown, change that to the word mouseup. You could also try the
word click, but that might fire too late. It’s a timing issue, you
see. If you catch it too late, the form will have already submitted,
and after that happens, Elvis has left the building (metaphorically
speaking). No further changes you make to the page will be shown to
the user.
I suspect what is happening is that because the cover GIF is put in
place over the button before the mouseup event fires, that disconnects
the two halves of the click event (what happens when you mousedown and
mouseup over the same object on the page). The mousedown happens over
the button, but the mouseup happens over the cover GIF. By the twisted
logic of a browser, this means that the click didn’t happen on the
Submit button, which means that the form’s submit event doesn’t need
to fire. For another example, try this: click down on a submit button
on a form, but don’t lift your finger until you have slid the cursor
off of the button. The form doesn’t submit, right?
Walter
On Oct 22, 2010, at 8:04 AM, Kevin McElligott wrote:
Hi
Hope your still listening to this one Walt.My client has now come back and requested that the upload button should send the file to their email address - is this possible?
Only by using a server-side component, usually written in a scripting
language like PHP or Ruby, to intercept the form submission and
validate the attached file and then compose a multipart-mime e-mail
message. And your client had better invest in great anti-virus
software or a Macintosh, because this is one of the more frequent
causes of heartache and heartburn for PC owners.
Check with your hosting provider about the languages and versions of
those languages that they support on your server. Also check with them
if they have such a thing already installed, as they may prefer you
use the system they have vetted for compliance with their security
protocols.
If they don’t have a handler set up, then take the list of languages
and look through HotScripts for some systems to try. Some will be
free, but will expect you to be a propeller-capped expert to install.
Some will be free and easy to install, with great documentation and
support. Many will be pay-to-use, some with support (those have a
yellow background on HotScripts). I don’t have any specific ones to
recommend, as I usually write this sort of thing myself to suit the
exact needs of my clients.
Walter
On Jan 10, 2011, at 10:30 AM, Kevin McElligott wrote:
Hi
Hope your still listening to this one Walt.My client has now come
back and requested that the upload button should send the file to
their email address - is this possible?