JavaScript

{dialog.object}formViewUpdate Method

Syntax

{dialog.Object}.formViewUpdate(UXformViewControlId,arrayOfFields,arrayOfValues)

Arguments

UXformViewControlId

FormView control's ID.

arrayOfFields

An array of fields to update.

arrayOfValues

The value to set in each field. The values in this array correspond to the fields in the arrayOfFields.

Description

Sets the value in one or more FormView controls.

Example

var _fields = ['Firstname','Lastname','City'];
var _vals = ['Fred','Smith','Boston'];
{dialog.object}.formViewUpdate('FORM_1',_fields,_vals);

See Also