I think you must use a hidden field for assign the value
for example
echo $form->hiddenField($model,'school', array('id'=>"school", 'class' => 'login_txtbox'));
then assign the value to the field
'select'=>'js:function(event, ui) {
$("#school").val(ui.item.value);
}'