Jump to content
Larry Ullman's Book Forums

Adding Field To A Form From A Releated Model


matias-yii
 Share

Recommended Posts

Supose we have to tables: exams and students where one student could have many exams. To make it simple , student has 2 fields studentId, name. Exams and Students are related by studentId. On exam form i would like to add a filed with the name of the student and then i would like to save it using models. It's that possible?

Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...