PDA

View Full Version : Tab Panel



drks
12 Aug 2009, 8:36 AM
Oops staff who have a tabpanel with two tabs on the first tab has a form
and at the end of Denham forumulario a button that says Next Step>>, then I want
When the button is clicked move to the next tab which will take another form and so on
anyone have any idea?

andryi
12 Aug 2009, 9:40 AM
well i don't but you will try with this:

for your button


handler: function(tab){
var t = Ext.getCmp('tabpanel');
t.setActiveTab(1); //1 is for your second tab
}

drks
12 Aug 2009, 10:49 AM
this solves my problem thanks

question number 2

can someone tell me how I get the information of the 2 forms and sending them to
php via POST?

drks
12 Aug 2009, 5:42 PM
help!?!

chesstrix
12 Aug 2009, 8:10 PM
There are quite a few example on forms you should read through.


http://extjs.com/deploy/dev/examples/form/dynamic.html

and

http://extjs.com/deploy/dev/examples/form/xml-form.html


are good places to start.

drks
13 Aug 2009, 5:33 PM
thank you "chesstrix" your help was perfect

ate more