Sebastian,
If you are able to rely on JavaScript, you can also detect this on the
client, and save the trip to the server and back. You'd add this to the
<form> tag:
onsubmit="return Validate(this)"
and you'd put this function declaration within the <head>:
function Validate(f) {
var returnVal;
if (f.UpdateFile.value == "") { returnVal = false }
else { returnVal = true }
return returnVal
}
-David
P.S. My Allaire Developer Conference *unofficial* sign-up sheet is back
up, at
www.cfm-resources.com/d/dshadovi/index.html. If you're coming, sign up!
On Mon, 16 Oct 2000 19:27:43 -0500 sebastian palmigiani <[EMAIL PROTECTED]>
writes:
>
> yep. That worked. Thanks
>
> on 10/16/00 5:09 PM, Owens, Howard at [EMAIL PROTECTED] wrote:
>
> > On my response page, I validate with:
> >
> > <cfif NOT Len(form.field)>
> > ERROR: Your file doesn't exist
> > <cfabort>
> >
> > <cfelse>
> >
> > <cffile .... >
> >
> > </cfif>
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.