EnumFormValidationMessageType
Controls how validation error messages are displayed to users when form fields contain invalid data. Choose the appropriate display method based on form density, user experience requirements, and available screen space.
Definition
Namespace:Telerik.Blazor
Assembly:Telerik.Blazor.dll
Syntax:
public enum FormValidationMessageType
Fields
Inline
Displays validation error messages directly below each invalid input field for immediate visual feedback. Provides the most intuitive user experience by showing errors exactly where they occur in the form. Best for most standard forms where screen space allows for error text without overwhelming the layout. Users can immediately identify and correct validation issues without searching for error information. This is the default display method offering the clearest user guidance.
None
Completely hides individual field validation messages, showing no error text near invalid fields. Use this when implementing centralized error display through ValidationSummary components only. Ideal for forms where space is extremely limited or when you want all errors consolidated in one location. Users must rely on ValidationSummary or custom error handling to understand validation failures.
Tooltip
Shows validation error messages in tooltips that appear when users hover over or focus on invalid fields. Saves screen space by hiding error messages until users interact with invalid fields. Perfect for dense forms, compact layouts, or when maintaining clean visual design is important. Requires user interaction to view errors, which may be less discoverable than inline messages. Ideal for experienced users who understand form validation patterns.