CodeIgniter Forums
DMZ validation error messages - 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: DMZ validation error messages (/showthread.php?tid=32554)



DMZ validation error messages - El Forum - 07-27-2010

[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???


DMZ validation error messages - El Forum - 07-27-2010

[eluser]gyo[/eluser]
Why don't you search for the text in all the files?


DMZ validation error messages - El Forum - 07-27-2010

[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?


DMZ validation error messages - El Forum - 07-27-2010

[eluser]gyo[/eluser]
Form_Validation replaces the deprecated Validation class: http://ellislab.com/codeigniter/user-guide/libraries/form_validation.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 Smile


DMZ validation error messages - El Forum - 07-27-2010

[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!


DMZ validation error messages - El Forum - 07-27-2010

[eluser]gyo[/eluser]
No problem!