When the user moves from field to field, the field color or video attribute is changed to give the user a visual cue about where he or she is currently in the form. Active fields use the active logical attribute specified for that field. Skip fields use the skip logical attribute, and inactive fields use the inactive logical attribute for that field.
During editing of fields, all option settings that control form processing behavior are observed. By default, the form options are set so that when the user fills a field, the cursor automatically moves to the next field. If the user is on the last field and it is filled, pressing a key causes the user to exit the form. Automatic exit from a form is the default and can be turned off. See Chapter 9, "Data Field Processing Options, and Chapter 16, "Data Form Processing Options."
You can also install functions that are called when a field is entered or when the field is exited. These functions are useful for branching to other data forms, updating a running total, and many other tasks. See Chapter 31, "Writing User Functions."