I have an active form in my application. But client side validation does not work. The form code looks like this:
<?php $form=$this->beginWidget('CActiveForm', array( 'id'=>'application-data-student-form', 'enableAjaxValidation'=>false, 'enableClientValidation'=>true, 'clientOptions'=>array('onSubmit'=>true), 'htmlOptions'=>array( 'enctype'=>'multipart/form-data', 'role'=>'form', 'class'=>'form-horizontal' ), )); ?>
I used bootstrap 3 in my project. Any idea or solution would be highly appreciated by anyone.,.
dlthp source share