GetFieldNames

Core function

Syntax

GetFieldNames( whatToList )
GetFieldNames()

Parameters

Parameter Description
whatToList Any combination of the following switches:
  • "f" – list only form fields (this is the default).
  • "v" – list only form variables.
  • "d" – list inactive "dimmed" fields or variables (works like a filter on top of the other two options).

Description

Returns an array of the names of the fields and/or variables in a form.

The "d" switch may be used to segregate form fields and variables according to their status (active/inactive). For example, in Virtual Ticket, when a form is used to modify search results (Modify window), all its editable fields and variables are initially inactive and displayed as "dimmed". As the user edits particular fields and variables, they become activated.

Examples

The following example shows the use of GetFieldNames:

See Also

Field, SetField

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.