>>I'm trying to do a cfx call with a cfif statement inside of it like this
You can't do it this way. <CFIF can be used inside HTML tags but not
CFML tags.
However you can do what you want using the attributecollection structure,
to pass optional attributes to the tag, ie:
<CFSET additionalAttribute = structNew()>
<CFIF arguments.trxType eq "R">
<CFSET additionalAttribute.term = arguments.term>
</CFIF>
<CFX_PAYFLOWPRO QUERY = "result"
CERTPATH = "#this.certPath#"
TRXTYPE = "#arguments.TRXTYPE#"
attributeCollection = #additionalAttribute#>
--
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244934
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54