Click or drag to resize
FormExtensions Class
Contains helper methods for rendering HTML for forms built using Form builder.
Contains helper methods for rendering HTML for forms built using Form builder.
Contains helper methods for rendering HTML for forms built using Form builder.
Contains helper methods for rendering HTML for forms built using Form builder.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcFormExtensions

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static class FormExtensions

The FormExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBeginWrappingElement
Renders the start tag of wrapping HTML element based on configuration. An empty string is returned, when configuration is null or does not specify an ElementName.
Public methodStatic memberEditor
Returns an HTML editing element for given formComponent.
Public methodStatic memberEndWrappingElement
Renders the end tag of wrapping HTML element based on configuration. An empty string is returned, when configuration is null or does not specify an ElementName.
Public methodStatic memberFormField
Returns HTML markup for given formComponent. The markup contains a label and an editing element representing the form component given.
Public methodStatic memberFormFields
Returns HTML markup for given enumeration of form components. The markup contains a label and an editing element representing each of the form components.
Public methodStatic memberLabel
Returns an HTML label element for given formComponent.
Public methodStatic memberSmartFieldIcon
Returns a smart field icon if provided formComponent is a smart field.
Public methodStatic memberValidationSummary
Renders a validation summary for a form with clickable labels.
Top
See Also