Adding Rows To Cgridview And Saving To Db Via Controller

I have a model (Person) which contains a relation (HAS_MANY) to a table of email addresses. In the form to enter Person data I have a table (CGridView) to contain the email addresses. I then update the resulting table with any addresses using information from the thread "How to add row to GridView widget with JavaScript". So far so good.


The addresses the user enters are never passed to the Person controller in the _POST variable. Any ideas how I can get the entered data into the controller so it can be saved to the database?

Thanks. Please don’t suggest using an extension.

Oh well, since nobody answered I stuffed a hidden input field with the entered data as it was entered by the user, which field obviously does get passed in _POST.