Something basic: I am trying to pass some information from a form to another page.
My form:
<form id="login_form" action="{path=user/loginrespons}" method="post">
<fieldset>
<label for="firstname">Email address<abbr title="Required field">*</abbr></label> <input type="text" class="required email" name="email" />
<input type="submit" class="input_submit" name="submit" value="Submit" />
</fieldset>
</form>My “loginrespons” template:
<?php
if ( ! isset($_POST['email'])) {
$email = FALSE;
}else{
$email = $_POST['email'];
}
?>php is enabled for this template, but no data is passed. When I put my response page outside of EE as a regular php page everything works fine.
Any idea what I am missing here?