Click or drag to resize
KenticoFormBuilderPropertiesPanelControllerGetValidationRuleConfigurationMarkup Method
Gets markup for configuring ValidationRule.

Namespace: Kentico.Forms.Web.Mvc.Internal
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public ActionResult GetValidationRuleConfigurationMarkup(
	Guid formComponentInstanceIdentifier,
	string validationRuleIdentifier,
	string validationRule,
	int formId,
	string formFieldName
)

Parameters

formComponentInstanceIdentifier
Type: SystemGuid
Identifier of a Form component instance for which to retrieve validation rule's configuration markup.
validationRuleIdentifier
Type: SystemString
Identifies type of validation rule for which to retrieve it's markup.
validationRule
Type: SystemString
Validation rule data to be inserted into a resulting markup.
formId
Type: SystemInt32
Identifier of form being edited.
formFieldName
Type: SystemString
Name of field the properties belong to.

Return Value

Type: ActionResult
See Also