[eluser]USCTrojans[/eluser]
I've got an interesting thing going on right now and can not figure out how to fix it. I am using HMVC modular controllers and am trying to use a controller for a login function and one for a create profile function. I have verified that they both work and validate etc when apart, but for some reseason when I load them both as modules onto one page the bottom function pulls the results of the top function when I click submit.
I have tried renaming the submit button and am using code igniter form class but still can not figure out what is causing this.
here's my homepage controller
Code:
function index()
{
$this->load->view('pagination/header');
$this->load->module('login/login');
$this->login->index();
$this->load->module('create_profile/create_profile');
$this->create_profile->create();
$this->load->view('pagination/footer');
}
I have validated that both the create_profile controller and login controller work on this page when isolated but when together they cause problems.
I'm guessing it has to do with the form submit buttons but am not sure. I even tried changing one button to a reset button but did not work either.
Thanks for any help