title: Yii2=>ActiveForm=> add "has-error" (or "has-access") by default on page open
body: <p>I have a simple form:</p>
  
  <pre><code>&lt;?php $form = ActiveForm::begin([
      'id' =&gt; 'answer-form',
      'action' =&gt; Yii::$app-&gt;getUrlManager()-&gt;createUrl('test'),
      'enableClientValidation' =&gt; false,
  ]); ?&gt;
  
  &lt;?= $form-&gt;field($user_answer, 'user_text')-&gt;textInput(['value' =&gt; $text])-&gt;label('Text') ?&gt;
  
  &lt;?php ActiveForm::end(); ?&gt;
  </code></pre>
  
  <p>I want to show input with red color (div with class "has-error" by default)- like somebody added wrong data to the input. How can i do it?</p>