Hi,
I have a question regarding the company edit form in INVO tutorial. I still can not come up with the answer to how it is possible that when I click save button on edit page I am forwarded to company/index and form on this index site is populated with the values of the company that was edited before even though the index action is calling getForm function which uses $form = new Form($entity) and thus should create new empty form object for the index view ($this->view->form = $this->getForm();) which is definitely happening when I am entering this site clicking the Company tab. I realized that it is possible to reset the form using
$form = $this->getForm(); $form->clear();
but that actully does not explain the issue because calling $form = $this->getForm(); should be enough to get clear form.
I guess that this is just a lack of my php knowledge by any help would be appreciated.