Jason,
Offf the top of my head, try:
<cfif form["attachment" & i) eq "">
-joe
On Fri, 19 Nov 2004 15:38:39 -0700, Jason Smith
<[EMAIL PROTECTED]> wrote:
> Can anyone point me in the right direction with this problem?
>
> This is a re-marketing site and when they add a new product to be sold when
> they attempt to add images this is the error
>
> Variable attachment1 is undefined.
>
> The error occurred in
> C:\Inetpub\voremarketing\admin\inventory\addInventory\addInventory_Images_action.cfm:
>
> line 11
>
> 9 :
> 10 : <cfloop from="1" to="#URL.imgNum#" index="i">
> 11 : <cfif evaluate('attachment' & i) eq "">
> 12 : <cfset errMessage = "The following form fields are either missing or
> invalid:<hr><ul><li>Please select an image or images to upload.</li>">
> 13 : <cfset errFlag = 1>
>
> Since I didn't create this I'm debugging issues that have come about from
> moving to a new host.
>
> Web Your Business Inc., - located in Loveland, Colorado; serving the World!
> http://www.webyourbusiness.com/ - & - http://www.aaabusinesshosting.com/
> Phone: 970-593-6260 - Fax: 970-593-6267 - Toll Free: 1-877-416-8655
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184936
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54