Hi all,
Actually i want to do like this
<input type="text" class="form-control" name="InputCode" id="InputCode" placeholder="Enter Code" required>
but try in Yii textfield is does’n work
$form->textField($userEntity,‘f_name’,array(‘class’=>‘form-control’,‘placeholder’=>‘New Member’,‘required’=>’’));