summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-09-02 13:30:04 +0200
committerAndrey Andreev <narf@devilix.net>2015-09-02 13:30:04 +0200
commitc283443ad0c839a02485e071171ced644f017a1f (patch)
treed4699346b4e5bbc2070d9de3ec1780331abff9f6 /user_guide_src/source
parent4e0d88ab2fd59d310e273ec3087b582e9d266012 (diff)
[ci skip] Improve FV language string instructions
As suggested in #4095
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/libraries/form_validation.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst
index be6d1f233..1fde68d73 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -547,7 +547,10 @@ All of the native error messages are located in the following language
file: **system/language/english/form_validation_lang.php**
To set your own global custom message for a rule, you can either
-edit that file, or use the following method::
+extend/override the language file by creating your own in
+**application/language/english/form_validation_lang.php** (read more
+about this in the :doc:`Language Class <language>` documentation),
+or use the following method::
$this->form_validation->set_message('rule', 'Error Message');