Can I cancel a tab index?

3
I have a form with 4 text fields. In IE9 the first text field is automatically selected when the form is opened. I have tried to empty the tab index, but that is not allowed! Is there another way to have no tab index at all? Maybe in CSS?
asked
3 answers
6

According to the documentation, setting the tab index of a widget to -1 (minus one) will make the browser skip that widget.

See widget properties documentation

answered
0

AFAIK no, there is always one element that has focus. What exactly are you trying to achieve? (why should there be no focus?)

answered
0

The -1 works! Thanks. There has to be no focus, because some browsers will show a (dotted =IE9) line around the first text field. This is very uggly.

answered