|
|
|
|
|
- Overview
- Required input
- Implementation
Managing the mandatory input in WEBDEV
To prevent users from leaving a control empty, you can set it as a required field. With this mechanism, users won't be able to validate the page until they have entered all the required information. Note: Only Edit controls can be set as required fields. When a page is validated, a check is performed. If no value is entered in one or more required controls: - a dialog box indicates the required controls.
- the page validation is canceled.
- the first empty control in the tab order automatically gains focus.
For example, the following page contains multiple required controls: The user validates the page without entering data in some of the required controls. The page is not validated and the following dialog box appears: Once this dialog box is validated, the first empty control according to the tab order (the "Postal code" control in this case) automatically regains focus: To make a control required, simply check "Required input" (in the "Details" tab of the Edit control description window).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|