Everytime I blur a form field, it insert data into DB

Has anyone else experienced this? Im guessing its a top 10 Noob thing, im using

This is my _form.php if anyone can see what im doing ‘wrong’

<div class="form">



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






<?php /** @var BootActiveForm $form */

$form = $this->beginWidget('bootstrap.widgets.BootActiveForm', array(




)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>



    <div class="row">

		<?php echo $form->labelEx($model,'id_lead'); ?>

		<?php echo $form->textField($model,'id_lead'); ?>

		<?php echo $form->error($model,'id_lead'); ?>



#EDIT# rest of form removed 


#EDIT# I changed




and that sorted it