How do I prevent AjaxSubmit button from validating form when an input loses focus? I only want to submit the form when the button is clicked.
How do I prevent AjaxSubmit button from validating form when an input loses focus? I only want to submit the form when the button is clicked.
Hi Stephen
In your form, set enableAjaxValidation to false like so
<?php $form = $this->beginWidget('CActiveForm', array(
....
'enableAjaxValidation'=>false,//<--set this to false
....
Darn. That was an easy one.