rickclark54 wrote:
<cfif parameterexists(attributes.target) EQ 0>
<cfthrow message="NoTarget">
<cfelseif parameterexists(attributes.formname) EQ 0>
<cfthrow message="NoTarget">
</cfif>
Do you perhaps mean the following:
<!--- Two independent checks --->
<cfif NOT isDefined("attributes.target")>
<cfthrow message="NoTarget">
</cfif>
<cfif NOT isDefined("attributes.formname")>
<cfthrow message="NoForm">
</cfif>
<cfif #attributes.image# NEQ 0>
Do you mean: <cfif len(trim(attributes.image)) NEQ 0>?