| List of expression elements / Dialog handling operators | |
The INFIELD() operator checks for the current screen field.
INFIELD ( [group.]field )
INFIELD checks for the current field in a CONSTRUCT, INPUT or INPUT ARRAY dialog.
When used in an INPUT ARRAY instruction, the runtime system assumes that you are referring to the current row.
For a generic coding equivalent, use the DIALOG.getCurrentItem() method.
INPUT ...
  IF INFIELD( customer.custname ) THEN
     MESSAGE "The current field is customer's name."
  ...