Edit

GetFieldNumber (windowRef, fieldNameString)

Result Type:  number

Definition:  Convert the symbolic name of a UI object in a window to its index number.

Availability:  available within MWScript handlers.

See Also:

GetFieldName: Get the symbolic identifier string for a standard or custom field or control