CI_Form_validation::set_message()

set_message($lang[, $val = ''])

Parameters:
  • $lang (string) – The rule the message is for
  • $val (string) – The message
Returns:

CI_Form_validation instance (method chaining)

Return type:

CI_Form_validation

Permits you to set custom error messages. See Setting Error Messages

doc_CodeIgniter
2016-10-15 16:31:34
Comments
Leave a Comment

Please login to continue.