Click or drag to resize
ValidationRuleDefinitionProviderGet Method
Gets a form component validation rule definition by its identifier.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public ValidationRuleDefinition Get(
	string identifier
)

Parameters

identifier
Type: SystemString
Identifier of the form component validation rule definition to retrieve.

Return Value

Type: ValidationRuleDefinition
Returns form component validation rule definition with given identifier, or null when not found.

Implements

IFormBuilderDefinitionProviderTDefinitionGet(String)
See Also