I am newbie to yii and I have a problem, this is what happens …
tables thus handle information:
child
child-> person
child-> person-> phone
child-> parent
child-> parent-> people
(these last two are twice because there is one for mother and one for father)
what I need is not only calling several models in one view of a form, but using the models person not only to save the info of the child but also the parents in the same view …
everything was in one ajax form and should only be saved if everything is correct.
I really hope that Yii2 will also support this kind of forms, so that there is no dependency on extension which uses a “flaw” to set the submodel attributes. wform used the CActiveRecord::onUnsafeAttribute “error” to set the sub model attributes. And i didn’t like it that much so generate an “error” submission to get what i wanted.