Wednesday, November 2, 2011

Form error Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus

Problem: When openning the InfoPath Form, we get a javascript error "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus".

If we check the code in javascript it check if toolbar is visible.
"if(e.v3RichTextControlOnFormInIE)"

Solution: Add toolbar on Form, so when you editing an RichText, you have the toolbar in top of the page without errors! Looks like it's a bug, when you don't add Form toolbar...

1- Go to Form Options
2- Browser Show InfoPath commands/ Mostrar comandos do InfoPath no Friso
3- Ok
4- Create a new form and check if error disappear.

Worked for me ;-) Hope it works for you.

1 comment:

  1. Yes its worked. thanks alot for resolution

    ReplyDelete