- edited description
checkBoxControlGroup
Issue #13
resolved
checkboxControlGroup creates instead of the form->error part something like this:
<input error="<p id="User_policy_em_" style="display:none" class="help-block"></p>" name="User[policy]" id="User_policy" value="1" type="checkbox">
Comments (5)
-
reporter -
repo owner plz let me show your Form Widget example to resolve this
-
reporter This is the form
<?php $form = $this->beginWidget('BsActiveForm', array( 'id' => 'signUp-form', 'layout' => BSHtml::FORM_LAYOUT_VERTICAL, 'htmlOptions' => array('role' => 'form'), 'enableClientValidation' => true, 'clientOptions' => array( 'validateOnSubmit' => true, ), )); ?> <?php echo $form->textFieldControlGroup($model, 'username', array('placeholder' => 'Username')); ?> <?php echo $form->emailFieldControlGroup($model, 'email', array('placeholder' => 'Email')); ?> <?php echo $form->passwordFieldControlGroup($model, 'password', array('placeholder' => 'Password')); ?> <?php echo $form->checkboxControlGroup($model, 'policy'); ?> <?php echo BSHtml::submitButton('Sign Up', array('color' => BSHtml::BUTTON_COLOR_PRIMARY)); ?> <?php $this->endWidget(); ?>
-
repo owner - marked as major
iam on it but last night i cant figure it out
-
repo owner - changed status to resolved
fixed
#13output error message on CheckboxControlGroup bug enableClientValidation = no error class added→ <<cset 1428a1a3422c>>
- Log in to comment