jQuery(...).activeform is not a function in Yii
If you include jQuery core libraries manually in your layout file, it could be possible that jQuery gets loaded a second time and overrides the original jQuery object which had the Yii plugins attached.
You should use Yii::app()->clientScript->registerCoreScript('jquery.ui')
instead.