次のフォームは送信されません。何か不足していますか?
<?php
$form = $this->beginWidget('CActiveForm', array(
'id' => 'site-search-form',
'action' => Yii::app()->createAbsoluteUrl('/moduleA/actionB'), //array('/moduleA/actionB'),
'enableClientValidation' => true,
'enableAjaxValidation' => true,
'clientOptions' => array(
'validateOnSubmit' => true,
),
));
echo $form->hiddenField($model, 'is_a', array('id' => 'is_candidate'));
?>
<div class="blueline"></div>
<div class="row">
<?php echo $form->label($model, 'position_type'); ?>
<?php echo $form->error($model, 'position_type'); ?>
<?php
$arr = CHtml::listData(PositionType::model()->findAll(array('condition' => 'status=1', 'order' => 't.order')), 'id', 'name');
foreach ($arr as $k => $v) {
$arr[$k] = $v . ' Positions';
}
echo $form->dropDownList($model, 'position_type', $arr);
?>
<div class="clear-float"></div>
</div>
<div class="row">
<?php echo $form->label($model, 'location'); ?>
<?php echo $form->error($model, 'location'); ?>
<?php echo $form->dropDownList($model, 'location', CHtml::listData(CitySector::model()->findAll(), 'id', 'name')); ?>
<div class="clear-float"></div>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton(''); ?>
<div class="clear-float"></div>
</div>
<?php
$this->endWidget();
?>