JavaScript

{dialog.object}getValue Method

Syntax

{dialog.Object}.getValue(name)

Arguments

name

The control to get the value from.

Description

Get the value of a control in the UX Component.

If you are reading the value in a control that is in a Repeating Section, use 'name:rownumber' for the field name. If you are reading the value from a List control and you want the value of a particular column in the list, use this syntax: {dialog.Object).getValue('list::listName::columnName). To get the logical row number of the current row in the list use for the columnName.

Example 

Read value in 'LASTNAME' field.

var lname = {dialog.object}.getValue('LASTNAME');

read value in 'LASTNAME' from the 3rd row of a Repeating Section.

var lname = {dialog.object}.getValue('LASTNAME:3');

read the value of the 'City' column from 'LIST1'

var city = {dialog.object}.getValue('list::LIST1::City');

See Also