felix7 Posted April 22, 2018 Share Posted April 22, 2018 Hi, I have a custom form at homepage, and, of course, I want to handle the errors (like empty email or name). Problem: if I redirect to homepage in controller after do things, I lose the errors (because "redirect" opens a new sesion and you lose variables), so how can I do it? I have seen other controllers and they use "setTemplate", but how can I set index template? Or is there other solution? Thanks in advance! Link to comment Share on other sites More sharing options...
felix7 Posted April 25, 2018 Author Share Posted April 25, 2018 Up Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now