Welcome Guest, Not a member yet? Register   Sign In
DMZ validation error messages
#1

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

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

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

[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 Smile
#5

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

[eluser]gyo[/eluser]
No problem!




Theme © iAndrew 2016 - Forum software by © MyBB