Click or drag to resize
FormFieldRenderingConfiguration Class
Configuration describing rendering of optional wrapping HTML elements for Form builder's form field.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcFormFieldRenderingConfiguration

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public class FormFieldRenderingConfiguration

The FormFieldRenderingConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodFormFieldRenderingConfiguration
Top
Fields
  NameDescription
Public fieldStatic memberGetConfiguration
An event raised upon getting rendering configuration of a form field on live site. Allows for modification of Configuration for rendering the specified FormComponent.
Top
Properties
  NameDescription
Public propertyColonAfterLabel
Gets or sets a value indicating whether a colon is rendered after 'label' element. True by default.
Public propertyComponentWrapperConfiguration
Gets or sets the rendering configuration of an element wrapping the form's 'editor' element.
Public propertyStatic memberDefault
Gets or sets the default form rendering configuration. The default configuration wraps the form field in a 'div' element with no attributes and renders a colon after the label. The configuration can be adjusted for individual form components using the GetConfiguration event.
Public propertyEditorHtmlAttributes
Gets or sets HTML attributes for the form's 'editor' element. An empty dictionary by default.
Public propertyEditorWrapperConfiguration
Gets or sets the rendering configuration of an element wrapped in ComponentWrapperConfiguration and the corresponding 'explanation text'.
Public propertyExplanationTextWrapperConfiguration
Gets or sets the rendering configuration to the explanation text of a form field.
Public propertyLabelHtmlAttributes
Gets or sets the HTML attributes for the form's 'label' element. An empty dictionary by default.
Public propertyLabelWrapperConfiguration
Gets or sets the rendering configuration of an element wrapping the form's 'label' element.
Public propertyRootConfiguration
Gets or sets the rendering configuration of an element wrapping the form's field. A field consists of a label and an editor.
Public propertyShowSmartFieldIcon
Gets or sets a value indicating whether a smart field icon is rendered for smart fields.
Public propertySmartFieldIconHtmlAttributes
Gets or sets HTML attributes for the smart field icon. An empty dictionary by default.
Public propertySmartFieldIconWrapperConfiguration
Gets or sets the rendering configuration of an element wrapping the smart icon element.
Public propertySuppressValidationMessages
When true no validation messages are rendered for the fields. This way validation messages may be handled from outside of the form field.
Public propertyStatic memberWidget
Gets rendering configuration for a widget field. The configuration can be adjusted for individual form components using the GetConfiguration event.
Top
See Also