Registration Form With Bootstrap Tbwizard

Hi all, I want to create a registration form by bootstrap.widgets.TbWizard

I have created renderPartial to show each tabs TbWizard (_form_1.php , _form_2.php and _form_3.php), first page is show, but I cant to next step/page

this is a code




$this->widget('bootstrap.widgets.TbWizard', array(

	'type' => 'tabs',

	'tabs' => array(

		array('label' => 'Profile', 'content' => $this->renderPartial('_form_1', array('user'=>$user),true), 'active' => true),

		array('label' => 'Education', 'content' => $this->renderPartial('_form_2', array('user' => $user),true)),

		array('label' => 'Company', 'content' => $this->renderPartial('_form_3', array('user' => $user),true)),

	),

));



each _form_x I use CActiveForm

any solutions?

Make sure JS is included and there are no js errors.

successfully… thanks mr ORey

this my create views




<?php

$form = $this->beginWidget('CActiveForm', array(

    'id' => 'user-form',

    'enableAjaxValidation' => false,

    'htmlOptions' => array(

    'enctype' => 'multipart/form-data',

    ),

        ));

?>

<div class="user_form">

$this->widget('bootstrap.widgets.TbWizard', array(

        'type' => 'tabs',

        'tabs' => array(

                array('label' => 'Profile', 'content' => $this->renderPartial('_form_1', array('user'=>$user, 'form'=>$form),true), 'active' => true),

                array('label' => 'Education', 'content' => $this->renderPartial('_form_2', array('user' => $user, 'form'=>$form),true)),

                array('label' => 'Company', 'content' => $this->renderPartial('_form_3', array('user' => $user, 'form'=>$form),true)),

        ),

));


</div>

<?php $this->endWidget(); ?>