displayFields()

You can use the consoleLib.displayFields() system function to display form field values in the current window. If data elements are bound to the fields, the data is retrieved from those elements and formatted according to the rules specified with the form field. For an unbound form field, you can access the ConsoleField.value property.

If you do not specify any field names as parameters, the function displays all fields for the current form.

The function is similar to the consoleLib.displayFieldsByName() function, except that it refers to the fields themselves rather than to values from the name properties of the fields.

Syntax

  consoleLib.displayFields(
    [fields ConsoleField in])
fields
One or more ConsoleField variables, separated by commas.

Feedback