endWidget


$form=$this->beginWidget('CActiveForm', array('id'=>'id1'));


  $form2=$this->beginWidget('CActiveForm', array('id'=>'id2'));

  ->button[0] <- // Click action have ajax connection.

  $this->endWidget();


->submit button[1] <- // submit all widget

$this->endWidget();

This works FF but doesnt work IE. Submit button doesn’t work in IE.

I try this –


$form=$this->beginWidget('CActiveForm', array('id'=>'id1'));


  $form2=$this->beginWidget('CActiveForm', array('id'=>'id2'));

  ->button[0] <- // Click action have ajax connection.

  


->submit button[1] <- // submit all widget

$this->endWidget();$this->endWidget();

This logic working only 2 widget, I want more "beginWidget". its become more complex.

What can i do ?

This generates following HTML




<form...>

   <form...>

   ...

   </form>

</form>



And that is not supported

i see… Actually, i don’t need this code, i’m just wonder, why firefox working well.

Thanks for response mdomba.

FF can handle forms with misplaced <form> tags. I experienced it a while ago too. They thought of drunk coders cough :)