SPField.ValidationMessage property
SharePoint 2013
Gets or sets a message to display to the user if validation fails for this field.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableConstraintAttribute(FixedId = "1", Type = ClientCallableConstraintType.MaxLength, Value = )] [ClientCallableAttribute] public string ValidationMessage { get; set; }
Property value
Type: System.StringA String which is a message to display to the user if validation fails.