IFormProviderSetFormData Method |
Sets data of a form represented by a list of its components.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax BizFormItem SetFormData(
BizFormInfo bizFormInfo,
List<FormComponent> formComponents,
Nullable<Guid> contactGuid
)
Parameters
- bizFormInfo
- Type: CMS.OnlineFormsBizFormInfo
Biz form whose data are to be set. - 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:
BizFormItemReturns the biz form item set.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when bizFormInfo or formComponents is null. |
See Also