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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •