#

# LogiView

## Function 'field_touched'

| Use this function to check if the cursor has been moved to the current field. The return value is TRUE if an entry is made in the current field (independent of whether or not the field contents is changed). Otherwise the function returns the value FALSE.
| This function can only be used for the current field and is therefore only useful within decision tables / procedures that are called as pre- or post-field userexits.
| ### Syntax:
| {LOG_VAR}= field_touched ()
| ### I/O parameters:
| - |
| - |
| ### Return value:
| {LOG_VAR} |
TRUE | Cursor is located in the current field.
FALSE | Cursor is not located in the current field.
| ### Example:
| Declaration of Variables
    10 if (field_touched() == TRUE)
    20  CheckValidEntries (sel_string(act_fld))
    30 endif
| Functions and commands: Modification of Fields