I am building a web application using Symfony 1.4 and Doctrine for a school and I want to make a very simple form to add a course to a student.
The main problem I ha
This should work for you...
In your action: $this->form = new StudentCourseForm(array(), array('student_id' => $student_id)); In the form class: $this->getOption('student_id');