Search

Samplekendangkoplowav 2022







 . . Hindi:  . . . Russian: Spanish: Q: How to show error and save the form in Yii framework? What I am trying to do is when form validation failed show the validation errors to the user. I have tried putting an else block in the form action beginWidget('CActiveForm', array( 'id'=>'user-new-form', 'enableClientValidation'=>true, 'clientOptions'=>array( 'validateOnSubmit'=>true, ), 'htmlOptions' => array( 'class'=>'edit', ));?> errorSummary($model);?> Save endWidget();?>


Related links:

0 views0 comments