form_validation error location |
[eluser]regal2157[/eluser]
Hi, I am going through the Form Validation page in the user_guide, and I see this remark: Quote:All of the native error messages are located in the following language file: language/english/form_validation_lang.php But the /language/english folder only has an index.php page. I know I could simply create this page, but is there another file location somewhere that stores the error messages? I noticed a lot of the folders are empty as well, including /application/core /application/helpers /application/hooks /application/libraries /application/third_party Anyways, advice would be accepted ![]() I am using 2.x
[eluser]osci[/eluser]
these files are stored in system/language but you can always Code: $this->form_validation->set_message('rule', 'Error Message'); as of Form Validation : CodeIgniter User Guide
[eluser]regal2157[/eluser]
Thanks osci! I knew something was wrong.. I was just in the wrong folder haha! I know of the set_message rule, but I was lost when I couldn't find that file. |
Welcome Guest, Not a member yet? Register Sign In |