Revision #5 has been created by resurtm on Jul 21, 2011, 4:06:11 PM with the memo:
Removed extra newlines
« previous (#4) next (#6) »
Changes
Title
unchanged
How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
CActiveForm, ajax, several models
Content
changed
[...]
<?php $form = $this->beginWidget('CActiveForm', array(
'id'=>'user-form',
'enableAjaxValidation'=>true,
)); ?>
<?php echo $form->errorSummary(array($a,$b));
?>
<div class="row">
<?php echo $form->labelEx($a,'firstName'); ?>
<?php echo $form->textField($a,'firstName'); ?>
<?php echo $form->error($a,'firstName'); ?>[...]