ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
MandatoryInputMessage (Property)
In french: TexteSaisieObligatoire
The MandatoryInputMessage property is used to identify and set the message that will be displayed if the control is left empty (when the MandatoryInput property is enabled).
Example
EDT_DateBirth.MandatoryInputMessage = ...
"Enter your date of birth. We'll wish you a Happy Birthday!"
Syntax

Identifying the message displayed if the input is required Hide the details

<Result> = <Control used>.MandatoryInputMessage
<Result>: Character string
  • Error message displayed if the input is required (MandatoryInput property set to True),
  • Empty string if the default error message is used ("Required input").
<Control used>: Control name
Name of the control used. This control can be:
  • an edit control,
  • a Check Box control,
  • a Radio Button control,
  • a Combo Box control,
  • a Rating control.

Changing the message displayed if the input is required Hide the details

<Control used>.MandatoryInputMessage = <Message>
<Control used>: Control name
Name of the control used. This control can be:
  • an edit control,
  • a Check Box control,
  • a Radio Button control,
  • a Combo Box control,
  • a Rating control.
<Message>: Character string
  • Error message displayed if the input is required (MandatoryInput property set to True),
  • Empty string if the default error message is used ("Required input").
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help