i'm new to magento. I trying to make a form to add some user to my database (not with form from magento, i need to check if the user exists in my xml file...). When I submit my form, I need to check if the user exists (it's done and working). If the user doesn't exists, I need to redirect. If it exists, i need go redirect to another form page, so that the user can sign in by adding email and password. Or (1) I have no idea how to get parameters from the first form and my redirect is not working. I have this for my first redirect (if it doesn't exists) :
And this if the user exists in my xml :
$this->_redirect('connexion/connexion/Form', array('name' => $name, 'code'=>$code));
I have two views, one for the first form and the other's got only some text to see if i'm on the right page, but nothing appear on this page (no content, only footer and header).
Please i need your help PS : i'm used to Symfony but Magento seems to be pretty different :/ PS 2 : i'm using 2.2.4 version
EDIT : now my page display some content, i'm looking for how to get parameters from the previous form and redirects still not working