Thanks for that, but I was saying that I would like to use a custom
function the same way that we can use the built-in functions.  In other
words, using your example, if I could put the UnescapeFormValues
function somewhere in the CF install directory, and then just call it
from any application or page like
<cfset result = UnescapeFormValues(myForm)>.  
I know you can do this if you've got the function on your page, or if
it's included somehow, but you can't just put it somewhere in
ColdFusion's directories and call it anytime you need it.  At least I
don't think you can, but I'd be glad to find out I'm wrong.

> -----Original Message-----
> From: Ben Nadel [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 01, 2006 2:33 PM
> 
> Jacob,
> 
> Here is a version of this type of function:

<snip>
 
> As you can see, it trims all values in the form, and replaces 
> out certain
> values that I didn't want, like extended ascii values.
> 
> -----Original Message-----
> From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 01, 2006 4:21 PM
> 
> > Is there someway to add a function to the CF system so that it is 
> > automatically available to all templates as the built in functions 
> > are?  Is there a directory of functions or something similar to CF 
> > tags/custom tags?
> 
> That would be very nice...I'm waiting to hear if anybody 
> knows how to do
> this. 

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241988
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

Reply via email to