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?
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?
I know the solution: deferredRender: true!
Except if you've visited that tab, and it has been rendered!
Think more.
Yes, it's true! I'm at this point now... Any idea?
You will have to disable all child items of the Tab.
See Container.findBy
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?
Yes.
They have a change event as you can see.
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