Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.Components.YetaWFComponent.ValidationMessage Method

Returns the client-side validation message for a component with the specified field name.

Class: YetaWF.Modules.ComponentsHTML.Components.YetaWFComponent
Namespace: YetaWF.Modules.ComponentsHTML.Components
Assembly: YetaWF.ComponentsHTML

Syntax

public string ValidationMessage( string fieldName );
public string ValidationMessage(
    string containerFieldPrefix,
    string fieldName );

Parameters

fieldName

The HTML field name.

containerFieldPrefix

The prefix used to build the final field name (for nested fields).

Return Value

Returns the client-side validation message for the component with the specified field name.

See Also YetaWF.Modules.ComponentsHTML.Components.YetaWFComponent ClassYetaWF.ComponentsHTML PackageYetaWF.Core