[ 'modal' => true, 'title'=>"NAGB Portal Feedback", 'width'=>"800px", 'id'=>'feedbackdiv', 'class'=> "feedbackclass" ],'id'=>'feedbackdiv','class'=> "feedbackclass" ]); echo "Please provide your feedback below:"; $form = ActiveForm::begin(['id' => 'feedback-form', 'method' =>'post','action' => ['site/feedback'],]); echo ''; //if empty -> no spam echo $form->field($model, 'name'); echo $form->field($model, 'email'); echo $form->field($model, 'subject'); echo $form->field($model, 'body')->textArea(['rows' => 6]); echo Html::hiddenInput('FeedbackForm[currentURL]',$current); echo $form->field($model, 'verifyCode' )->widget ( Captcha::className (), [ 'template' => '