2 Post On Cactiveform

i have form


<?php 

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

	'id'=>'step3-form',

	'enableClientValidation'=>false,

        "enableAjaxValidation"=>true,

        'clientOptions'=>array(

		'validateOnSubmit'=>true,

                'validateOnChange'=>false,

                

	),

	

));?>

<tr>

		    <td class="inputs"><?php echo $form->checkBoxList($model, 'docs', array('cert_exist'=>Yii::t("timeshare",'Сертификат на таймшер'),'contract_exist'=>Yii::t("timeshare",'Контракт о приобретении сертификата на таймшер'),'nodoc_exist'=>Yii::t("timeshare",'У меня не сохранились документы')),array('class'=>'inputs')); ?></td>

		  </tr>

		  <tr>

		    <td class="inputs"><?echo $form->error($model,'docs'); ?></td>

                  </tr>

 <div class="clear" style="width:220px;">

             <?php echo CHtml::submitButton(Yii::t("timeshare","<< Назад "),array("class"=>"button")); ?>

               <?php echo CHtml::submitButton(Yii::t("timeshare","Далее >>"),array("class"=>"button")); ?>

		

	</div>

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



when i click submitButton i have 2 POST


InfoForm[docs]:

InfoForm[docs][]:cert_exist

ajax:step3-form

yt1:Далее >>

and 4 second i have 2 POST


InfoForm[docs]:

InfoForm[docs][]:cert_exist

yt1:Далее >>

can i delete 1 post ?

Hi izac

When the first Post has been to deleted? and what do you mean first POST ? (in the second request or in the first one)?

Give more specific details :)

i have 2 validation

first i have 2 Post request (i think i validation and submit )


echo CActiveForm::validate($model);

			Yii::app()->end();

and have (1 Post but not render error)


$model->validate()

$this->render('step1',array('model'=>$model));






in ansver POST have html code error but in screen old form