Instead of using the CI3 generated form, I switched over to include the form in a template. Now I can get the nice form I wanted.
Now I am battling with the $_POST and also validation. I'd like to use CI3's form validation rules. Not sure if I can in this "bastardized" form.
I have set the submit to go to a method in the controller:
<form action="/index.php/Users_start_login/get_email" method="post">
and i do see the $_POST. I'd like to make sure it is a valid form of an email with:
$this->form_validation->set_rules('email', 'Email', 'required|valid_email);
before I check to see if it is sent to my authentication tool.
One idea is to use:
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
$emailErr = "Invalid email format";
}
proof that an old dog can learn new tricks