Results 1 to 3 of 3

Thread: model validation in modern

  1. #1

    Default model validation in modern

    Hello,

    Before with sencha touch i used model.validate() to get error messages

    But validate is actually depreciated, so how can i get the error messages ?

    Thanks

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    The docs for the validation method state to use getValidation instead.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Jul 2008
    Location
    Czech republic
    Posts
    69

    Default

    And how can I get invalid fields from Ext.data.Validation (which is returned by getValidation() function)?

Similar Threads

  1. Form validation using modern toolkit
    By tibor.mirnic in forum Ext JS 6.x Q&A
    Replies: 9
    Last Post: 18 Dec 2018, 7:37 AM
  2. Modern Toolkit NumberField Validation
    By gsoc2014 in forum Ext JS 6.x Q&A
    Replies: 4
    Last Post: 9 Jan 2017, 5:41 AM
  3. Simple Form Validation in Modern
    By nak1 in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 1 Dec 2015, 8:54 AM
  4. Replies: 1
    Last Post: 16 Oct 2014, 8:36 PM
  5. Form field validation based on model validation in sencha touch 2
    By karencc in forum Sencha Touch 2.x: Discussion
    Replies: 5
    Last Post: 2 Jul 2012, 6:32 AM

Tags for this Thread

Posting Permissions

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