Tbbutton Selection

I am not good on HTML, yet, but I am guessing if I were this would be easy.

How do I determine in the controller that the button has been selected? I have tried ‘id’ and ‘name’, but nothing shows up in $_POST.




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

	'id'=>'entrepreneur-form',

	'enableAjaxValidation'=>false,

)); ?>


<?php $this->widget('bootstrap.widgets.TbButton', array(

	'htmlOptions'=>array('name'=>'tech support'),

    'type' => 'info',

    'toggle' => 'checkbox', // 'checkbox' or 'radio

    'label' => 'technical/engineering support',

)); ?>



[color="#006400"]/* moved from General Discussion */[/color]

I found the answer. All in all, I don’t think the TB button can replace the standard checkbox with the widgets as they stand today.

If anyone cares - here’s where the solution was. http://stackoverflow.com/questions/15039502/how-to-get-value-from-bootstrap-checkbox-buttons-in-yii