Hi people,

I'm trying to get the Ext.focusmanager to work the way I want on my loginform. Currently the focusmanager registers almost every component on the screen including the viewport and containers.
I just want to have it on my form. I think I can accomplish this using subscribe() but I can't get it to work, can someone help me with this?
The next issue is when I'm tabbing in the form and I'm getting to the buttons config, I expect it to go straight to the buttons but it first focuses on the container of the buttons.

This is part of my code:
Ext.onReady(function () {
                xtype: 'form',
                border: false,
                layout: 'anchor',
                defaults: {
                    anchor: '100%',
                    margin: '10px'
                defaultType: 'textfield',
                items: [{
                    fieldLabel: 'Gebruikersnaam',
                    height: 35,
                    name: 'naam'
                }, {
                    fieldLabel: 'Wachtwoord',
                    height: 35,
                    name: 'pass',
                    inputType: 'password'
                }, {
                    xtype: 'checkboxfield',
                    boxLabel: 'Gebruikersnaam onthouden op deze computer',
                    margin: '0 0 10 115px'
                buttons: [{
                    text: 'Aanmelden',
                    formBind: true,
                    handler: function () {
                        window.location.href = 'index.html';
                    text: 'Registreren',
                    handler: function () {
                        window.location.href = 'register.html';