Click or drag to resize
IFormProviderUpdateFormData Method
Updates form data of already existing BizFormItem.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
BizFormItem UpdateFormData(
	BizFormInfo bizFormInfo,
	int bizFormItemId,
	List<FormComponent> formComponents,
	Nullable<Guid> contactGuid
)

Parameters

bizFormInfo
Type: CMS.OnlineFormsBizFormInfo
Form to be updated.
bizFormItemId
Type: SystemInt32
Identifier of form record to be updated.
formComponents
Type: System.Collections.GenericListFormComponent
Form components containing values to be set.
contactGuid
Type: SystemNullableGuid
Guid of current contact, can be null.

Return Value

Type: BizFormItem
Returns the updated biz form item.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when bizFormInfo or formComponents is null.
ArgumentOutOfRangeExceptionThrown when bizFormItemId does not specify an existing BizFormItem.
See Also