RegisterFormVisibilityConditionAttribute Constructor |
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax public RegisterFormVisibilityConditionAttribute(
string identifier,
Type visibilityConditionType,
string name
)
Parameters
- identifier
- Type: SystemString
Unique identifier of the form component visibility condition. - visibilityConditionType
- Type: SystemType
Type of the form component visibility condition. The visibility condition must inherit the VisibilityCondition class. - name
- Type: SystemString
Name of the form component visibility condition.
Remarks
Make sure to provide a unique identifier for the form component visibility condition from the start.
This identifier is used within the form configuration of components and any further change can lead to incorrect configuration load.
Consider specifying identifier in format 'CompanyName.ModuleName.VisibilityCondition', e.g. 'Kentico.Content.IsInPersonaVisibilityCondition'.
See Also