Welcome Guest, Not a member yet? Register   Sign In
validation
#1

(This post was last modified: 10-20-2019, 11:42 PM by aparedesv.)

Hi,

in CI3, I use the form_validation library some this:

$this->form_validation->set_rules('text_es', $this->lang->line('text').' '.$this->lang->line('castella'), 'min_length[2]');
$this->form_validation->set_rules('text_en', $this->lang->line('text').' '.$this->lang->line('angles'), 'min_length[2]');
$this->form_validation->set_rules('text_fr', $this->lang->line('text').' '.$this->lang->line('frances'), 'min_length[2]');

if ($this->form_validation->run() == FALSE)
{
$this->ecosistema(2, $this->input->post('ecosistema_id'));
}
else

{
// done
}

what's in CI4?

thanks!
Reply


Messages In This Thread
validation - by aparedesv - 10-20-2019, 11:42 PM
RE: validation - by aparedesv - 10-21-2019, 02:59 AM
RE: validation - by InsiteFX - 10-21-2019, 03:11 AM
RE: validation - by EvilMoe - 10-29-2019, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB