Overview
Form Field Behavior consists of information about how fields in the program are accessed and used. The purpose is to inform the user and make them more efficient in using the program.
Operation
A snapshot of the WebTools Maintain User application is shown below.
Notice the following:-
- The form is in Search mode with the Search button the default button. This is because the user has typed search data into a search field and the toolbar has assumed they will want to click the Search button.
- The Edit button is disabled. Because the form is in Search mode, this implies that the form is dirty. A dirty form does not contain a valid record and so there is nothing that can be edited.
- The Name and ID fields, which are Search fields, are enabled and the user is able to edit them. An enabled field is identified by it's bold title e.g.
.
- Standard fields, for example Type or Password, are disabled. A disabled field is identified by it's lighter title.
- The Data Grids are also disabled although this is not immediately obvious from their appearance. Generally data grids are only ever enabled in New or Edit mode. Furthermore, the user would be unable to select a row or cell in the grid while it was disabled.