The code I gave you for the controller is supposed to be called the first time the form is shown so should not go into the area that only runs when $this->data exists.
Example [controller code] function add() { if(!empty($this->data)) { if($this->HardwareGroup->save($this->data)) { $this->Session->setFlash('saved'); $this->redirect($this->data['HardwareGroup']['referer']); } } if (!$this->data['HardwareGroup']['referer']) { $this->data['HardwareGroup']['referer'] = $this->referer(); } } [/controller code] Got no idea what your now working on by adding an add method into your app_controller, seems wrong to me. Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en