Welcome Guest, Not a member yet? Register   Sign In
form data validation and data value variable
#2

In my opinion, data validation and getting data form values should be done in the controller, and keep the model only for database operations. But it would make sense to define the validation rules in the model so you can use the same validation rules in different controller functions.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: form data validation and data value variable - by includebeer - 04-12-2020, 06:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB