Welcome Guest, Not a member yet? Register   Sign In
Custom Error Messages for each Validated Form Element
#2

[eluser]ekeretex[/eluser]
You can edit (or add to) the validation language file (system/language/{language}/validation_lang.php).

Alternatively you could overide the error message in the controller. This works:
Code:
$this->validation->_error_messages['required'] = "You forgot to type the %s";


Messages In This Thread
Custom Error Messages for each Validated Form Element - by El Forum - 01-21-2008, 06:01 PM
Custom Error Messages for each Validated Form Element - by El Forum - 01-21-2008, 06:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB