checkFocus()

Checks a field has focus.

Syntax

checkFocus(
   fieldName   STRING )
  1. fieldName is the name of the form field to check if it has the focus.

Usage

Check if the expected field has the focus. For example, check the focus is on the "firstname" field.

CALL ggc.checkFocus("firstname")