Tim:
Did you see the tag info in the header of the stripascii.cfm file? All
that you need to know is there:
Syntax:
<CF_StripASCII STRING="#myvar#" OUTPUT="newString"
[STRIP="yes|no"]>
(creates a variable called "newString")
OR:
<CF_StripASCII [STRIP="yes|no"]><CFOUTPUT>#myvar# and some
content</CFOUTPUT></CF_StripASCII>
I'm using the first syntax, which seems to be working fine for me. If
that doesn't work, then I'm not sure what to tell you. I *know* it's
working this way on several sites of mine...
Tim Laureska wrote:
> The stripascii.cfm tag is in the same directory yes.... and here's the
> code I'm putting in the template
>
> <cfoutput>
> <CF_StripASCII STRING="#performed_by#" OUTPUT="newString" STRIP="yes">
> #newString#
> </cf_StripASCII>
> </cfoutput>
>
> and getting this:
>
> Element HASENDTAG is undefined in THISTAG.
>
> 26 : <CFIF (Not IsDefined("Attributes.String") OR Not
> IsDefined("Attributes.Output")) AND Not ThisTag.HasEndTag>
> 27 : <CFABORT SHOWERROR="<P><B>StripASCII Error:</B> You must specify
> both a STRING and an OUTPUT attribute.</P>">
> 28 : <CFELSEIF Not ThisTag.HasEndTag>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228959
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