>You can put a function in the null attribute of the cfqueryparam tag to >check for those characters. The function returns the numeric position of >one of these characters if it exists. A value of 0 (not found) is treated >as boolean false by ColdFusion and will result in the variable passed being >used. Any other value, which will always be a positive integer, will be >treated as boolean true and the value of the inserted field will be null >rather than the value of the variable passed. >null="#refind(...)#" > >On Thu, Mar 12, 2015 at 9:15 PM, Andy Mann <[email protected]> >wrote: > >>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1260 Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/regex/unsubscribe.cfm
