Client Side Validation Is Not Working

Hi, this is the link which am following the validation.But i need the client side validation,unfortunatly here it is not working.pls advise me how can i do the client side validation.


Post your code… is it same as in the link? i dont think…

in your controller

// Uncomment the following line if AJAX validation is needed


in you view your form should be


  		$form=$this->beginWidget('CActiveForm', array(






		'htmlOptions' => array('enctype' => 'multipart/form-data'),//this is b/c i use file upload



"name" is the first field on my form

I dont know whats going on in that post but that’s it my friend