Multiple scenarios client validation

Hi Guys and Girls,

I have a form which have multiple scenarios, the form works well but I need client validations.

Below is the partial form code





<?php

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

    	'enableClientValidation' => true,

    	'enableAjaxValidation' => false,

    	'errorMessageCssClass' => 'has-error',

    	'htmlOptions' => array('class' => 'form-horizontal',

		'role' => 'form',

		'id' => 'payment-form',

    	),

    	'clientOptions' => array(

		'id' => 'payment-form',

		'validateOnSubmit' => true,

		'errorCssClass' => 'has-error',

		'successCssClass' => 'has-success',

		'inputContainer' => '.form-group',

		'validateOnChange' => true,

    	),

	));

	?>



I do not need the ajax validations as on form submit I need to make a 3rd party page open up. Basically this is for payment integration and the scenarios are for net banking, credit and debit cards.

Everything is working well with the current form except that the client validation for the above mentioned scenarios are not working untill the form is submitted