Welcome Guest, Not a member yet? Register   Sign In
multiple controllers with forms cross submitting
#3

[eluser]USCTrojans[/eluser]
Code:
<div id="login_form">

<h1>Wordlife Login </h1>

&lt;form action="http://localhost:8888/index.php/login/local_validate_Login" method="post" accept-charset="utf-8"&gt;&lt;input type="text" name="email_address" value="Email Address"  />&lt;input type="password" name="password" value="Password"  /&gt;&lt;input type="reset" name="login_reset" value="Login"  />
</div>
<div id="create_profile_form" class="homepage_forms">

<h2>Create Your Own Wordlife Account </h2>

&lt;form action="http://localhost:8888/index.php/create_profile/create_profile_validation" method="post" accept-charset="utf-8"&gt;&lt;input type="text" name="create_first_name" value="First Name"  />&lt;input type="text" name="create_last_name" value="Last Name"  /&gt;&lt;input type="text" name="create_email_address" value="Email Address"  />&lt;input type="password" name="create_password" value="Password"  /&gt;&lt;input type="password" name="create_password_confirm" value="Password Confirm"  />&lt;input type="submit" name="profile_create_submit" value="Create Profile"  /&gt;
</div>

it says the action is localhost:8888/index.ph/create_profile/create_profile_valdation but it submits the information to the form at the top with action:http://localhost:8888/index.php/login/local_validate_Login

thanks


Messages In This Thread
multiple controllers with forms cross submitting - by El Forum - 01-18-2012, 01:07 AM
multiple controllers with forms cross submitting - by El Forum - 01-18-2012, 06:35 AM
multiple controllers with forms cross submitting - by El Forum - 01-18-2012, 10:16 AM
multiple controllers with forms cross submitting - by El Forum - 01-18-2012, 10:33 AM
multiple controllers with forms cross submitting - by El Forum - 01-18-2012, 12:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB