views:

32

answers:

2

How can I prevent a user from tabbing into a field (comboxbox)?

+3  A: 

If a field has a tabindex value of -1, it will be skipped when tabbing from field to field.

JacobM
Thanks for the quick answer.
Upper Stage
A: 

hm Jacob is right, because i dont know how to set it atm in ExtJs i would go a more complicated way, something like

combobox.on('focus', function(){
    var nextField = combo.nextSibling();
    nextField.focus();
});
Nexum