Hi,
I just started learning CodeIgniter. There is a library $this->load->library('form_validation');
for form validation with rules. Does that mean we don't have to use Javascript to validate forms anymore? Because, if we have to use those validators in CI (sake of the best practise), what is the point of using Javascript... Or do I misunderstand the point here?
I know that not using JS puts extra work on server so we should use both JS and CI validation in any cases and also, JS might have been disabled as well. Am I right???
$this->form_validation->set_rules('textEmail', 'Email Address', 'trim|required|min_length[5]|max_length[100]|valid_email');
Thanks in advance