Hi Everyone,
I’ve just started not too long ago using the Yii Framework and ran across some trouble. I have followed to following write up
to create records in multiple models using one form. I have all the code working and the form appears but I’m not sure how to actually submit form. In the Gii created form theres:
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
but I have multiple models declared. How do I modify above code to submit the data or do i only submit the model which I’ve modified the actionCreate() method for?
Thanks!