Welcome Guest, Not a member yet? Register   Sign In
Validation tutorial
#9

Tengo el mismo probema, no me funciona la validación.

He logrado mostrar los mensajes de error, pero no considera los datos por POST.


I have the same problem, validation does not work for me.

I have managed to display the error messages, but do not consider the data by POST.


PHP Code:
     $this->validation->setRule('data_form[usuario]''Usuario''trim|required');
     $this->validation->setRule('data_form[password]''Contraseña''trim|required');
     $this->validation->setRule('data_form[id_sucursal]''Sucursal''trim|required');


     if (!$this->validate($this->validation->getRules())){ 
Reply


Messages In This Thread
Validation tutorial - by Codinglander - 04-22-2020, 10:48 PM
RE: Validation tutorial - by Leo - 04-23-2020, 02:51 AM
RE: Validation tutorial - by Codinglander - 04-23-2020, 03:17 AM
RE: Validation tutorial - by jreklund - 04-23-2020, 11:31 AM
RE: Validation tutorial - by Codinglander - 04-23-2020, 07:49 PM
RE: Validation tutorial - by jreklund - 04-24-2020, 09:40 AM
RE: Validation tutorial - by Codinglander - 04-24-2020, 11:12 AM
RE: Validation tutorial - by jreklund - 04-24-2020, 11:21 AM
RE: Validation tutorial - by hugoafr - 07-01-2020, 01:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB