RecaptchaProperties Class |
Namespace: Kentico.Forms.Web.Mvc
public class RecaptchaProperties : FormComponentProperties<string>
The RecaptchaProperties type exposes the following members.
Name | Description | |
---|---|---|
RecaptchaProperties |
Initializes a new instance of the RecaptchaProperties class.
|
Name | Description | |
---|---|---|
BOTTOM_LEFT |
The bottom left badge position.
| |
BOTTOM_RIGHT |
The bottom right badge position.
| |
INLINE |
The inline badge position.
| |
RECAPTCHA_V2 |
reCAPTCHA v2
| |
RECAPTCHA_V3 |
reCAPTCHA v3
|
Name | Description | |
---|---|---|
Badge |
Represents the position of the Protected by reCAPTCHA badge rendered on the page.
| |
DataType |
Gets or sets the underlying field data type.
(Inherited from FormComponentProperties.) | |
DefaultValue |
Gets or sets the default value of the form component and underlying field.
(Overrides FormComponentPropertiesTValueDefaultValue.) | |
ExplanationText |
Gets or sets the explanation text of the form component.
(Inherited from FormComponentProperties.) | |
Guid |
Gets or sets the underlying field GUID.
(Inherited from FormComponentProperties.) | |
Label |
Gets or sets the label of the form component. Hidden for "invisible" recaptcha v3.
(Overrides FormComponentPropertiesLabel.) | |
Layout |
Represents the layout of the component (normal or compact).
| |
Name |
Gets or sets the underlying field name.
(Inherited from FormComponentProperties.) | |
Placeholder |
Gets or sets the value displayed as placeholder in the input.
Override and annotate with EditingComponentAttribute to make this property
editable in properties panel.
(Inherited from FormComponentProperties.) | |
Precision |
Gets or sets the underlying field precision.
(Inherited from FormComponentProperties.) | |
Required |
Gets or sets value indicating whether the underlying field is required. False by default.
If false, the form component's implementation must accept nullable input.
(Overrides FormComponentPropertiesRequired.) | |
Size |
Gets or sets the underlying field size.
(Inherited from FormComponentProperties.) | |
SmartField |
Gets or sets value indicating whether the underlying field is smart field. False by default.
(Overrides FormComponentPropertiesSmartField.) | |
Theme |
Represents the color theme of the component (light or dark).
| |
Threshold |
Represents the reCAPTCHA v3 score threshold for when the form submission should be rejected.
| |
Tooltip |
Gets or sets the tooltip of the form component.
(Overrides FormComponentPropertiesTooltip.) | |
Type |
Represents the type of the component (image or audio).
| |
ValidationRuleConfigurations |
Gets or sets validation rule configurations assigned to the form component.
(Inherited from FormComponentProperties.) | |
Version |
Represents the version of reCAPTCHA for the component to use (v2 or v3).
| |
VisibilityConditionConfiguration |
Gets or sets visibility condition configuration assigned to the form component.
(Inherited from FormComponentProperties.) |
Name | Description | |
---|---|---|
GetDefaultValue |
Gets the default value. The DefaultValue property can be used
directly to obtain the typed default value.
(Inherited from FormComponentPropertiesTValue.) | |
SetDefaultValue |
Sets the default value to value.
The value must be of type TValue or an exception is thrown.
The DefaultValue property can be used directly to set the typed default value.
(Inherited from FormComponentPropertiesTValue.) |