Fatal Error : Call To A Member Function Isattributerequired() Error Occurred In View

Hello All,

i am new to yii.

i am stuck at one feture.

I have 2 tables

1. jobseekers (current information of candidate)


2. pre_employer (Past information of candidate )

Note : 1. One candidate in jobseeker can have more than or one or none past employment. so multiple entries in pre_employer.

   2. primary key of jobseekers is a foreign key in pre_employer table.

now i want to create a form that contains current and pre employer information of candidate.

currently i have form that stores only current employer information and i want to edit that form so that it can update past employer also.

Please help.

Is there any1 who can help me to get the solution…???

First, try to google or to use search on this forum:

http://www.yiiframework.com/forum/index.php/topic/9740-call-to-a-member-function-isattributerequired-on-a-non-object/

here are some nice articles on tabular inputs

http://www.yiiframework.com/wiki/559/tabular-input-validating-and-saving-related-models/

http://www.yiiframework.com/doc/guide/1.1/en/form.table