How to set errorPlacement after form-group in Yii2

How can I set errorPlacement in Yii2 activeform or using kartik active form just after form-group? Below are code for view file.

<div class="col-sm-6">
     <div class="form-group field-signupform-value1 required">
          <label class="control-label" for="signupform-value1">value1 Name</label>
          <input type="text" id="signupform-value1" class="form-control" name="SignupForm[value1]" placeholder="value1 Name" aria-required="true">
           <p class="help-block help-block-error"></p>
      </div> 
</div>

<div class="col-sm-6">
     <div class="form-group field-signupform-value1 required">
          <label class="control-label" for="signupform-value1">value1 Name</label>
          <input type="text" id="signupform-value1" class="form-control" name="SignupForm[value1]" placeholder="value1 Name" aria-required="true"> 
      </div> 
    <p class="help-block help-block-error"></p> 
</div>

I achieved by below code.

<?php 
$form = ActiveForm::begin([
    'fieldConfig'=>['template'=>' <div class="custom"> 
    {label}{input}
</div>
{error}',
'inputOptions' => [
'placeholder' => 'Username ...',
'class'=>'form-control',
]]
 ]); ?>

and given css to “custom” class for border-box