how about <cfif trim(form.field2) neq ""> does that help? i reme,ber my
colleague having a similar problem and using a similar solution

-----Original Message-----
From: Snake [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2002 12:47
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] MAC and file upload probs again


OK whats the deal with this on a MAC.

Two formfields for file upload.

If you upload something in the first and not the second, the second
still submits something and it has the same length as the first, and
thus you process it thinking there was a file upload, which of course
generates an error.

So a check of

<cfif form.field2 neq "">

Fails because there is something in there of the same length as field
one.

Aghhh



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to