Form validation of non-english characters - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Form validation of non-english characters (/showthread.php?tid=46662) |
Form validation of non-english characters - El Forum - 11-10-2011 [eluser]Unknown[/eluser] Hello, I am really noob at CodeIgniter, I just started using it this week, and I have found an amazing tool. However, I have been working with the form validation library, and I got a problem that I have not been able to solve. I have the following code: Code: $this->form_validation->set_rules('last_name', 'Last Name', 'trim|required'); The user can type a non-english text, for example "Fernández" or "Caña", but it always fails to validate. I would really appreciate any help. Thank you very much, |