Results 1 to 4 of 4

Thread: Form Validation

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,317
    Answers
    3882
    Vote Rating
    1291
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Vote Rating
    0
      0  

    Default 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
    Answers
    20
    Vote Rating
    18
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •