Issue with form validation |
(09-30-2018, 02:46 PM)happyape Wrote:(09-30-2018, 10:48 AM)unodepiera Wrote:(09-30-2018, 03:57 AM)InsiteFX Wrote: This has to do with the News Tutorial. Try that and tell me what you get. It is the expected behavior, you are validating the form each time that the login method is called, you only need to validate the form if it is a POST request, refactor your code: PHP Code: public function login () { |
Welcome Guest, Not a member yet? Register Sign In |