Click or drag to resize
KenticoFormBuilderPropertiesPanelControllerValidateValidationRuleConfiguration Method
Validates whether ValidationRule is configured correctly.

Namespace: Kentico.Forms.Web.Mvc.Internal
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public Task<ActionResult> ValidateValidationRuleConfiguration(
	Guid formComponentInstanceIdentifier,
	string validationRuleIdentifier,
	int formId,
	string formFieldName,
	UpdatableFormWithConfiguratorsModelBinderResult bindingResult
)

Parameters

formComponentInstanceIdentifier
Type: SystemGuid
Form component instance identifier for which to validate it's validation rule.
validationRuleIdentifier
Type: SystemString
Identifies type of validation rule which configuration is being validated.
formId
Type: SystemInt32
Identifier of form being edited.
formFieldName
Type: SystemString
Name of field the properties belong to.
bindingResult
Type: Kentico.Forms.Web.Mvc.InternalUpdatableFormWithConfiguratorsModelBinderResult
Contains information about whether the form is being updated and name of the field which triggered the update.

Return Value

Type: TaskActionResult
See Also