at first glance you need to make sure that you have type="*multipart*/*form*-data" in your <form>
Second you will need to do something with the submitted file form so you would do: <cffile action="upload" filefield="attachform" destination="#GetTempDirectory()#"> Then do the cfmail: <cfmail type="HTML" to="[EMAIL PROTECTED]" from="#form.email#" subject="This is a test" server="vccmail.valenciacc.edu"> <cfmailparam file="#cffile.serverDirectory#/#cffile.serverFile#"> </cfmail> That should do it for you. On 7/16/07, Will Peavy <[EMAIL PROTECTED]> wrote: > > I have a Web form at > http://valenciacc.edu/wordprocessing/orderform_west1.cfm > > When the user clicks the submit button it sends an email containing the > information to the site's content manager. > > The text fields on the form work fine. > > But it has two problems: > > 1. The 'upload file' field near the bottom of the form isn't working. I > can't figure out how to get a file selected on a user's computer to be > submitted with the form. > > 2. If any of the checkboxes are left unchecked I get an 'element > undefined' error. > > Any help or ideas are appreciated. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2912 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
