BreezingForms and Internet Explorer – Error

I recently had a form created with BreezingForms that worked perfectly in Firefox but failed to display in an Internet Explorer browser. The area of the page that should have displayed the form was blank, and the lower left corner showed the page was “Done” loading with an error on the page.

The error message read, “Can’t move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.”

To make a long story really, really short, I edited the code field in the jos_facileforms_scripts table for the (id=6;name=ff_getfocus) row from:

function ff_getfocus(element,condition) {
     element.focus();
}

to:

function ff_getfocus(element,condition) {
     try {
          element.focus();
     } catch(er){
     }
}

Problem solved.

CategoriesUncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *