Nov 07, 2013, 1:29 AM
use getForm().getValues(false), get error: Object doesn't support this property or method.
I have FormPanel in web page and use getForm().getValues(false) to get all fields value in the form. This code works in Ext.net version 1.0. when upgrade to ext.net version 2.3. I got Object doesn't support this property or method.
What's I need to do to get all fields values in formpanel?
The following is the code I used:
What's I need to do to get all fields values in formpanel?
The following is the code I used:
function DoSearch(id) {
var sform = eval('ff' + id.toString());
if (sform) {
SearchForm(sform.getForm().getValues(false), id);
}
}
Last edited by Holly; Nov 07, 2013 at 12:25 PM.