shoneZ89
            (Nenad Z)
          
          
          
              
              
          1
          
         
        
          So the Captcha image and the input feild are generated like in templates:
<?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
    'template' => 
        '<div class="row">
            <div class="col-lg-4">{image}</div>
            <div class="col-lg-6">{input}</div>
         </div>'
    ]) 
?>
but I would also like to have placeholder inside input field like "Enter verification code", is this possible ?
         
        
          
        
           
           
           
         
         
            
            
          
       
      
        
          
          
            softark
            (Softark)
          
          
          
              
              
          2
          
         
        
          http://www.yiiframework.com/doc-2.0/yii-captcha-captcha.html#$options-detail
<?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
    'template' => 
        '<div class="row">
            <div class="col-lg-4">{image}</div>
            <div class="col-lg-6">{input}</div>
         </div>',
    'options' => ['placeholder' => 'Enter verification code'],
    ]) 
?>
[EDIT]
You may need to set the ‘class’ option explicityly.
    'options' => [
        'placeholder' => 'Enter verification code',
        'class' => 'form-control',
    ],