Click or drag to resize
FormProvider Class
Contains methods for forms and their fields retrieval.
Inheritance Hierarchy

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

The FormProvider type exposes the following members.

Constructors
  NameDescription
Public methodFormProvider
Initializes a new instance of the FormProvider class.
Top
Methods
  NameDescription
Protected methodCreateFormComponent
Creates a new form component instance based on its description in the form field.
Public methodGetFormComponents
Gets a list of form components which represent the model to be rendered in a view.
Protected methodGetFormInfo
Gets FormInfo for the specified bizFormInfo.
Public methodSendEmails
Sends notification and autoresponder emails if the form is configured to do so.
Protected methodSetBizFormItemData
Sets data from visibleFormComponents to given formItem.
Protected methodSetContact
Sets the current contact identifier to given item.
Public methodSetFormData
Sets data of a form represented by a list of its components.
Public methodUpdateFormData
Updates form data of already existing BizFormItem.
Top
See Also