Welcome Guest, Not a member yet? Register   Sign In
DMZ language file
#1

[eluser]frist44[/eluser]
When you install DMZ, it requires that you put the datamapper_lang.php in the languages. The content of the file seems to resemble the form_validation_lang.php file.

By default, I noticed that my error messages are coming from the form_validation_lang.php, what is the use of the datamapper_lang.php ?

Is there a way to ensure that the messages are coming from datamapper_lang.php, otherwise, what is the point of having this file?
#2

[eluser]frist44[/eluser]
It seems that maybe datamapper is providing additional validation rules. Is this the point of it? So the 'required' that I was referring, exists in form_validation, so therefore, it would be in the form_validation language file.

The part that confuses me is the rule "min_length" in the form_validation, and "min_size" in datamapper. Are they not the same?




Theme © iAndrew 2016 - Forum software by © MyBB