Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Suppressing Bind Errors

Engaged ,
Nov 10, 2010 Nov 10, 2010

I'm using a CFC with autosuggesting on a text input on a form, but when a user enters in something that is not provided by the CFC, they get an error.  I'm using the autosuggest to show available things, but don't want to punish them if they're looking for something that's not available.  Is there a way to suppress these errors?

TOPICS
Advanced techniques
430
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 19, 2010 Nov 19, 2010
LATEST

Yes, you can set a global error handler for ColdFusion AJAX:

ColdFusion.setGlobalErrorHandler(functionName)

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS0ef8c004658c1089-6262c847120f1a3b244-7fcc.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources