-
23 Apr 2012 1:59 AM #1
Answered: Form Validation
Answered: Form Validation
Good morning,
I'm working on Sencha Touch 2, and I'm lookign for an exemple of that, any docs ?
-
Best Answer Posted by mitchellsimoens
There is no built in form validation. What you could do it have a model with validation, set the form values to the model and validate the model.
There are examples of this here:
http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Model
-
25 Apr 2012 4:29 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
There is no built in form validation. What you could do it have a model with validation, set the form values to the model and validate the model.
There are examples of this here:
http://docs.sencha.com/touch/2-0/#!/api/Ext.data.ModelMitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
30 Apr 2012 7:17 AM #3
Hi,
Hi,
I have solved that problem couple days left, I used the model as you mentionned , thanks anyway

-
10 Jun 2012 9:03 AM #4


Reply With Quote