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,553
    Answers
    3931
    Vote Rating
    1272
      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! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  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
  •