I have some code below:
<?=
$form->field($model, 'phone_no')->textInput(
[
'placeholder' =>
'(Conditionally validated based on checkbox above, groovy!)'
]
)
?>
Which results in HTML:
<div class="form-group field-contactform-phone_no">
<label class="control-label">Phone No
<input type="text" aria-describedby="hint-contactform-phone_no" placeholder="(Conditionally validated based on checkbox above, groovy!)" name="ContactForm[phone_no]" id="contactform-phone_no" class=""></label>
<small class="error-box"></small>
<p class="help-text" id="hint-contactform-phone_no"></p>
</div>
My Question is:
How can I add a class 'invisible' to the outer div (containing class=form-group currently)?
Thanks for help