validators\RequiredValidator $message

$message public property

The user-defined error message. It may contain the following placeholders which will be replaced accordingly by the validator:

  • {attribute}: the label of the attribute being validated
  • {value}: the value of the attribute being validated
  • {requiredValue}: the value of $requiredValue
public string $message = null
doc_Yii
2016-10-30 17:14:04
Comments
Leave a Comment

Please login to continue.