use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\models\University;
use backend\models\UniversitySearch;
use dosamigos\ckeditor\CKEditor;
use yii\helpers\ArrayHelper;
use wbraganca\dynamicform\DynamicFormWidget;
use kartik\depdrop\DepDrop;
use yii\helpers\Url;
use yii\helpers\FileHelper;
use kartik\file\FileInput;
use kartik\select2\Select2;
use kartik\date\DatePicker;
use common\models\UniversityAdmission;
use yii\web\JsExpression;
use common\models\UniversityCourseList;
Controller: public function actionCreate() {
form: <?php
use yii\helpers\Html; use yii\widgets\ActiveForm; use common\models\University; use backend\models\UniversitySearch; use dosamigos\ckeditor\CKEditor; use yii\helpers\ArrayHelper; use wbraganca\dynamicform\DynamicFormWidget; use kartik\depdrop\DepDrop; use yii\helpers\Url; use yii\helpers\FileHelper; use kartik\file\FileInput; use kartik\select2\Select2; use kartik\date\DatePicker; use common\models\UniversityAdmission; use yii\web\JsExpression; use common\models\UniversityCourseList;
$this->registerJsFile('@web/js/programs.js'); $this->registerJsFile('@web/libs/select2/select2.full.min.js'); $this->registerCssFile('@web/libs/select2/select2.min.css'); $year=[0=>' ',1=>'Janurary',3=>'Feburary',3=>'March',4=>'April',5=>'May',6=>'June',7=>'July',8=>'August',9=>'September',10=>'October',11=>'November',12=>'December'];
?>