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.
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', )); ?>