Click or drag to resize
FormProviderUpdateFormData 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#
public virtual 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.

Implements

IFormProviderUpdateFormData(BizFormInfo, Int32, ListFormComponent, NullableGuid)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when bizFormInfo or formComponents is null.
ArgumentOutOfRangeExceptionThrown when bizFormItemId does not specify an existing BizFormItem.
Remarks
The SaveBizFormItem event is invoked on all form components which have been initialized using an instance of BizFormComponentContext.
See Also