Good feedback.
I am using the ColdFusion error checking of cfinput and cfselect to validate
the input in the form before processing. If I simply JavaScript the button to
either pop an image or inhibit the button, would it trigger that even though
the validation failed?
I'd not want to have
Good feedback.
I am using the ColdFusion error checking of cfinput and cfselect to validate
the input in the form before processing. If I simply JavaScript the button to
either pop an image or inhibit the button, would it trigger that even though
the validation failed?
I'd not want to have
Good feedback.
I am using the ColdFusion error checking of cfinput and cfselect to validate
the input in the form before processing. If I simply JavaScript the button to
either pop an image or inhibit the button, would it trigger that even though
the validation failed?
I'd not want to have
Hi John,
The following will run the JavaScript (which disables submit button, and
displays the image) only if CF form validation passes:
style
#myImageID {display:none;}/*hide image*/
/style
script type=text/javascript
/* ![CDATA[ */
var submitted = false;
var imageID;
function myFunction(frm,
I have an app which calls a web service on a different computer to do work on
its behalf and sometimes my users are impatient and hit the invocation button a
second time, which causes problems. I'd like to pop some kind of
work-in-progress or busy icon on the web page while this service is
One simple way to do it is just to disable the submit button and change it's
text to something like Loading data That way you give instant feedback
to the user and it's someplace they're already looking.
andy
-Original Message-
From: John Pullam [mailto:jpul...@mcleansystems.com]
Hi John,
This code may not be exactly what you need, but hopefully it helps:
style
#myImageID {display:none;}/*hide image*/
/style
cfform
cfinput type=button name=myButtonID value=click me /
/cfform
img id=myImageID src=PleaseWait.gif alt=Please Wait /
script type=text/javascript
/* ![CDATA[
7 matches
Mail list logo