PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Required input
  • Implementation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Managing the required input in WEBDEV
Overview
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.
Remark: Only Edit controls can be set as required fields.
Required input
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:
Implementation
To make a control required, simply check "Required input" (in the "Details" tab of the Edit control description window).
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment