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. The Web user will not be able to validate the page as long as the necessary information has not been entered.
Remark: Only Edit controls can be set as required fields.
Required input
A check is performed when a page is validated. 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 no validated and the following dialog box appears:
Once this dialog box is validated, the first empty control according to the tab order (the "Zip 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