Hello,
I tried to create a tabular input for entry student’s name, I take from this example Tabular Input Link
in terms of input (add, remove) are successful, but which is still a constraint on the time of storing data or getting data from the input.
I attach also an example display of the input form I have created.
and this student and classroom class model:
<?php
// student
class Student extends CFormModel {
public $surname;
public $description;
public $name;
}
?>
<?php
class ClassRoom extends CFormModel {
public $surname;
public $description;
}
?>
in student Controller i created like this:
class StudentController extends Controller {
public function actionTest(){
$students =new studentManager();
$model = new ClassRoom;
$this->render('/student/view',array(
'model'=>$model,
'students'=>$students,
));
}
I really want is to get the value that is in the results of the tabular input.
thank you