Les Mizzell wrote: > OK, if I'm doing something like this (CF 5) > > <cfif (findoneof("!<[^>]+%>!=",form.firstName,1) NEQ 0) ><cfabort> > > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% > sure how to do that...
cfthrow a custom exception. If you already outputted something you will need to use a cfcontent reset on the handler page. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229642 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54