Joe
19 Jun 2009, 6:21 AM
More details posted in this forum link:
http://www.extjs.com/forum/showthread.php?t=69859
Summary:
I am requesting Field have a validator function that returns true and the children call it.
I implemented a "validator" function at the Ext.form.Field level. I had to override the TextField as shown below to call the newly added Ext.form.Field validator method.
Ext.override( Ext.form.TextField, {
//-- base validation using vtypes for all fields
validator: function(value){
return Ext.form.TextField.superclass.validator.call(this,value);
}
});
Thanks
http://www.extjs.com/forum/showthread.php?t=69859
Summary:
I am requesting Field have a validator function that returns true and the children call it.
I implemented a "validator" function at the Ext.form.Field level. I had to override the TextField as shown below to call the newly added Ext.form.Field validator method.
Ext.override( Ext.form.TextField, {
//-- base validation using vtypes for all fields
validator: function(value){
return Ext.form.TextField.superclass.validator.call(this,value);
}
});
Thanks