1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Vote Rating
    0
    wiwi is on a distinguished road

      0  

    Default 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 ?

  2. 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

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,121
    Vote Rating
    453
    Answers
    3160
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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
    Mitchell 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.

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Vote Rating
    0
    wiwi is on a distinguished road

      0  

    Default Hi,

    Hi,


    I have solved that problem couple days left, I used the model as you mentionned , thanks anyway

  5. #4
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Vote Rating
    17
    Answers
    20
    James Goddard will become famous soon enough

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    There is no built in form validation
    Seriously?