Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Tabbed form no submit disable tab

  1. #1
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default Tabbed form no submit disable tab

    I have a tabbed form with two tabs, one of them disabled. How can I submit the form without the fields inside the disbled tab?

  2. #2
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default

    I know the solution: deferredRender: true!

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Except if you've visited that tab, and it has been rendered!

    Think more.

  4. #4
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default

    Yes, it's true! I'm at this point now... Any idea?

  5. #5
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    You will have to disable all child items of the Tab.

    See Container.findBy

  6. #6
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default

    I have to disable the second tab if I change something of the form in the first tag... Is there any event in the form which is fired when a item in the form is changed?

  7. #7
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Like an input Field?

  8. #8
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default

    Yes.

  9. #9
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    They have a change event as you can see.

  10. #10
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default

    Yes, I know... Are you telling me I have to define the listener for every field in the form? This could be a solution (what I knew, already), but I would like to have a solution at form level, which is what I'm asking.
    Last edited by brk11; 22 Jul 2010 at 4:51 AM. Reason: Spelling error

Page 1 of 2 12 LastLast

Similar Threads

  1. Login Form: Disable 'submit' until username has been input
    By cornflakes in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 7 Sep 2008, 3:27 PM
  2. p.getForm().submit() and form.element.enable()/disable() issue
    By httpdotcom in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 27 May 2008, 5:50 AM
  3. Data Submit Problem in Tabbed Form
    By jigar_dave in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 3 Mar 2008, 3:19 AM
  4. Disable Submit button in the form
    By quartex in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Jan 2008, 1:34 AM
  5. Disable Client side Form validation per submit possible?
    By Wolfgang in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 6 Aug 2007, 11:16 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
  •