i trying retrieve data form created using widget cactiveform. however, when click on submit button, no data written targeted url. how obtain submitted form data? <p>please list ages of members of household:</p> <div class="form offset3"> <?php $form = $this->beginwidget('cactiveform', array( 'id' => 'survey', 'enableclientvalidation' => true, 'enableajaxvalidation' => true, 'action'=>yii::app()->createurl('//survey_resp'), 'clientoptions' => array( 'validateonsubmit' => true, ), 'htmloptions' => array( 'class' => 'form-horizontal', ), )); ?> <div class="row"> <?php echo $form->labelex($model, 'age_1'); ?> <?php echo $form->textfield($model, 'age_1'); ?> ...
Comments
Post a Comment