Validating an Ext.data.Model object using Sencha Touch 2

The following example shows how you can validate an Ext.store.Model object in Sencha Touch 2 by setting the validations object on the model and then calling the validate() method on a model instance.

[github path="/master/Touch/Ext.data.Model.validations/index.html" height="220"]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>