PDA

View Full Version : Event enter from formPanel



chuvinha
8 Nov 2010, 3:08 AM
Hi guys, Iam not able to put the enter event from formPanel.
My code is so:




Ext.onReady(function(){
loginForm.setHandler(
specialkey: function(f,e){
if (e.getKey() == e.ENTER){
login.getForm().submit({
});


It isn't working.
Could someone help me?