Re: Submitting forms data to a different controller

2007-04-26 Thread Damien
> in the login function in users_controller.php > I am trying to access the data submitted > $this->data['User']['username'] How are you defining the fields in your view? If you don't set them using something like input('User/username'); ?> (or equivilent) then I'm pretty sure that you won't be a

Re: Submitting forms data to a different controller

2007-04-26 Thread cooked
yes this what I am trying to do. Here is my directory structure pages/home.thtml (view) app/controller/users_controller.php (controller) in the home.thtml file I submit a form like this in the login function in users_controller.php I am trying to access the data submitted $this->data['User'][

Re: Submitting forms data to a different controller

2007-04-26 Thread cooked
Yes that exactly what I want. But when I use $this->data in the action function of the controller I am not seeing any data. Thanks, - harsh On Apr 26, 11:11 am, rtconner <[EMAIL PROTECTED]> wrote: > I'm confused? What is the problem? > > ... > > > is this what you want? > > On Apr 26, 12:03 pm

Re: Submitting forms data to a different controller

2007-04-26 Thread rtconner
I'm confused? What is the problem? ... is this what you want? On Apr 26, 12:03 pm, cooked <[EMAIL PROTECTED]> wrote: > Is there way to submit forms data to a different controller than the > one responsible for the > view. I am using the page controller to render my home page. In the > home pag

Submitting forms data to a different controller

2007-04-26 Thread cooked
Is there way to submit forms data to a different controller than the one responsible for the view. I am using the page controller to render my home page. In the home page I have a login box, which submits data to /users/login. But in my controller users_controller.php function login I don't see th