Validating an object using Sencha Touch 2

The following example shows how you can validate an 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/” 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>