I've done this myself in some instances, but I could swear that I had a
problem with a particular webserver that would take both get and post data
at the same time...Haven't had any problems recently though...

> I have experienced the same problem, but I am not sure what causes it
> exactly.  However I do have a solution.  Instead of putting values in the
> form elements put them in the form action.  Ie.
> 
> <FORM ACTION="index.cfm?somevalue=yes&etc=1" METHOD="POST">
> 
> instead of
> 
> <FORM ACTION="index.cfm" METHOD="POST">
> <INPUT TYPE="text" NAME="somevalue" VALUE="yes">
> <INPUT TYPE="text" NAME="etc" VALUE="1">
> 
> Mark
> 
> -----Original Message-----
> From: Bryan Love [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 28, 2001 4:31 PM
> To: CF-Talk
> Subject: RE: ENCTYPE="multipart/form-data" problem
> 
> 
> I have used forms like the one you describe many times and have never the
> problem you are having, so you can be sure it is not the CF server...
> 
> Are you setting method to post in the form tag?
> Do you have any CFlocations based on the file input field (if the page
> relocates you will lose the form fields)?
> 
> Post the code for all to look at and I'm sure you'll get a more informative
> answer.  Good luck!
> 
> 
> Bryan Love ACP
> [EMAIL PROTECTED]
> 
> 
> 
> -----Original Message-----
> From: Scott Lowe [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 28, 2001 7:43 AM
> To: CF-Talk
> Subject: ENCTYPE="multipart/form-data" problem
> 
> 
> I don't know if this is a CF problem yet, but I haven't been able to get to
> the bottom of it:
> 
> The problem arises when using ENCTYPE="multipart/form-data" to allow the use
> 
> of files in a form. It seems that if a file is present, then all is well.
> However if the file field is empty then none of the other form data (input
> type="text" etc.) are avalable to the processing page. You get the error
> "Error resolving parameter FORM.PRICE" or something similar. Removing the
> enctype parameter from the form cures the problem (but this disables the
> file capabilities).
> 
> We are using: CF Enterprise 4.5.1, Windows 2000 ADV server / IIS 5, IE5.0
> (to submit the form).
> 
> I guess the problem could be with any of these (of couse it could just be me
> 
> doing something stupid).
> 
> Anyway, if anyone has experienced the same problem or has an explaination I
> would be very grateful.
> 
> Thanks,
> 
> Scott.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to