DMZ validation error messages |
[eluser]frist44[/eluser]
I'm looking to change the validation messages on some of the rules I'm using. I tried changing in the datamapper_lang.php file, and validation_lang.php, but nothing has changed. So where is the message text coming from then???
[eluser]frist44[/eluser]
You're right, I should've looked. It looks like they're coming from the form_validation_lang.php. I put a new version in my application and overwrote them there. In the System/language folder, there's a validation_lang.php and a form_validation_lang.php. They both seem to have similar content, what is the difference?
[eluser]gyo[/eluser]
Form_Validation replaces the deprecated Validation class: http://ellislab.com/codeigniter/user-gui...ation.html You should make sure you're using the newest Form_Validation and change the language file accordingly. More than this, I can't help ![]()
[eluser]frist44[/eluser]
I'm definitely using the most recent. I notice in the 1.7.2 download, the validation library/language files still exist. I guess it's for those still using it. That was my confusion. Thanks!
|
Welcome Guest, Not a member yet? Register Sign In |