Hello all!

I have a cfform with a file upload field, so the enctype attribute has to be 
set to ="multipart/form-data".

<cfform action="update.cfm" method="POST" enablecab="Yes" 
name="new_newsletter" enctype="multipart/form-data">
<input type="hidden" name="nlt_filename" value="0">

It works fine on PC IE browser, but when testing it on MacIntosh, none of 
the form fields are getting passed.  I have tried using the trim() function 
in the update query, as well creating a hidden form field with the same 
field name and a value of "0".  On the update page I have a script that 
checks if the value is 0, and if it is it sets the value to "-1" (This was 
my interpretation of a 'solution' to this problem posted on a thread at 
Allaire.com, but I don't understand how it is supposed to work).

<script language="JavaScript">
        if (new_newsletter.nlt_filename.value.length == 0){
                new_newsletter.nlt_filename.value = '-1';
        }
</script>

Can anyone please help me and my comrads solve this problem?

Gratefully Yours,
Sutton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to