PDA

View Full Version : Syntax for getting form value with Ext.getCmp



steve1964
12 Sep 2010, 6:02 AM
Can anyone show me the syntax to getValue of a form text field with Ext.getCmp, i'm becoming crazy with this...

evant
12 Sep 2010, 4:31 PM
As you would expect:



var val = Ext.getCmp('myField').getValue();