Results 1 to 2 of 2

Thread: CardLayout don't auto validate on setActiveItem

  1. #1
    Sencha User rohdef's Avatar
    Join Date
    Mar 2010
    Location
    Aarhus, Denmark
    Posts
    67
    Vote Rating
    5
      0  

    Question CardLayout don't auto validate on setActiveItem

    I'm using CardLayout to contain some forms, and my problem is quite simple.

    On the first shown item in the CardLayout the form is validated when shown, so we have the nice red icons telling the user that the form hasn't been filled yet.

    Problem arises when the next form is activated I need to go through the fields to get them to validate even though they are identical to the first.

    Is there a good solution for this? Adding a method that goes through each field in the form and manually validate it doesn't seem to be a good solution to me (it would work, but be ugly)

  2. #2
    Sencha Premium User
    Join Date
    Aug 2007
    Location
    Romania
    Posts
    40
    Vote Rating
    0
      0  

    Default

    Same here, did you find a solution?

Similar Threads

  1. CardLayout and setActiveItem
    By jmtulloss in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 28 Mar 2012, 10:44 PM
  2. how to use the setActiveItem method of Cardlayout??????
    By bluefox617 in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 5 Feb 2011, 8:59 AM
  3. Replies: 0
    Last Post: 30 Sep 2010, 9:41 AM
  4. validate value for textbox validate values are comma separated
    By amey7p in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 16 Feb 2009, 7:40 AM
  5. CardLayout.setActiveItem not working
    By dVyper in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 8 Dec 2008, 1: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
  •