title | page_title | description | position | slug |
---|---|---|---|---|
Validation Message |
.NET MAUI MaskedEntry Documentation - Validation Message |
Learn more about the built-in validation error messages and how to define a custom error message in the Telerik UI for .NET MAUI MaskedEntry. |
7 |
maskedentry-validation |
The Telerik MaskedEntry for .NET MAUI provides a built-in validation message. If the user is entering an input that does not match the mask requirements, the MaskedEntry will display an error message.
The MaskedEntry supports a default validation error message that is based on the used masked type:
-
EmailMaskedEntry
—Supports theE-Mail is not valid
error message. -
RegexMaskedEntry
—Supports theInput does not match the regex
error message.
To customize the default validation error message, use the ValidationErrorMessage
(string
) property.
- Custom Validation Error Message for the EmailMaskedEntry
- Custom Validation Error Message for the RegexMaskedEntry
For the MaskedEntry Validation Error Message example, go to the [SDKBrowser Demo Application]({%slug sdkbrowser-app%}) and navigate to MaskedEntry -> Features category.
- [Mask Types]({%slug maskedentry-masked-types%})
- [Setting Value]({%slug maskedentry-value%})
- [Null Values Support]({%slug maskedentry-value%}#null-value-support})
- [Prompt Character]({%slug maskedentry-prompt-character%})
- [Events]({%slug maskedentry-events%})
- [Globalization]({%slug maskedentry-globalization%})