Answered
Element is undefined in URL
I can't seem to use a named field in a URL's querystring when
it contains a hyphen. Here's my code:
<body>
item1 = <cfoutput>#url.item1#</cfoutput>
orderID = <cfoutput>#url.orderID#</cfoutput>
card_type = <cfoutput>#url.card-type#</cfoutput>
</body>
I have no problem with item1 or orderID but card-type returns the error message:
" Element CARD is undefined in URL."
This URL is coming from a third party so I can't change it.
<body>
item1 = <cfoutput>#url.item1#</cfoutput>
orderID = <cfoutput>#url.orderID#</cfoutput>
card_type = <cfoutput>#url.card-type#</cfoutput>
</body>
I have no problem with item1 or orderID but card-type returns the error message:
" Element CARD is undefined in URL."
This URL is coming from a third party so I can't change it.