Results 1 to 5 of 5

Thread: Simple form validation with Sencha Touch

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default Simple form validation with Sencha Touch

    I am new to Sencha Touch and would like to validate a textfield (user will enter email address) and a numberfield (user will enter a phone number). These fields are in separate fieldsets. What built-in validations are available in Sencha Touch?

  2. #2
    Sencha User tomalex0's Avatar
    Join Date
    Apr 2009
    Location
    San Jose, CA
    Posts
    589
    Vote Rating
    20
      2  

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default Thanks.

    Thanks.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    24
    Vote Rating
    1
      0  

    Default

    Thanks tomalex0, this really helps!

  5. #5
    Sencha User
    Join Date
    Aug 2014
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Hello,


    I am trying to add some validation to my Model in order to validate simple html form.
    I followed all of the steps in this topic but for some reason my application gets an error in the following line:


    var errors = testModel.validate(),message = "";


    Error: Uncaught TypeError: undefined is not a function


    It doesn`t recognize the validate function.


    Thank you in advance!

Similar Threads

  1. Request: A Simple Sencha Touch App's Source
    By tmanderson in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 27 Mar 2011, 3:13 PM
  2. How-To Submit Login Form with ASP.NET MVC and Sencha Touch
    By profunctional in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 1
    Last Post: 13 Feb 2011, 6:47 PM
  3. Form fields validation in Sencha Touch
    By Yazla in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 9 Dec 2010, 3:32 AM
  4. Submitting a form using Sencha Touch
    By Rakesh Pai in forum Sencha Touch 1.x: Discussion
    Replies: 10
    Last Post: 2 Dec 2010, 12:56 AM
  5. Submitting a Form in Sencha Touch
    By vaughanhale in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 27 Jul 2010, 11:20 PM

Posting Permissions

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