Welcome Guest, Not a member yet? Register   Sign In
Form validation in different controllers
#2

I asking this because in the documentation (that honestly is the best one in comparison to all other frameworks) there is the only one example, that shows how to use form validation on the one controller - both rendering and validation (using IF statement to discern if form has been sent or have not), but there is not a word about using it in different controllers or at least different functions of the same controller (and i honestly think for this example it makes absolutely no difference).

And code in controller can quickly become a complete mess if you write everything in one controller, especially if your page contains more than one form.
Reply


Messages In This Thread
RE: Form validation in different controllers - by glorsh66 - 05-05-2018, 08:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB