When you are gathering an end-user selection through a List Box widget, the following runtime properties are available:
Id: Identifies the widget in the HTML of the web screen or web block.
Read only. Text type.
List: This list has the same length and elements with data type as the Source Record List property of this widget. The difference is that the records that correspond to the end-user selection have the Selection Attribute set to TRUE.
Allows you to manage the end-user choice.
Read / Write. List type.
Valid: Indicates whether the option the end-user chose is valid.
To implement your own server-side validations, simply assign this runtime property. In the render stage, the HTML of widgets that have the Valid runtime property set to False, is set with the Not_Valid class. Learn how to Validate End-User Inputs.
Read / Write. Boolean type.
ValidationMessage: Text message displayed next to the widget that explains why the input is not valid. If the Valid runtime property of a widget is set to True, the ValidationMessage is set with an empty string. If it is set to False, the ValidationMessage is set with a Default Validation Message.
When implementing your own server-side validations, assign a text to this runtime property, to explain the reason for the input being invalid.
The ValidationMessage is rendered in HTML as a <span class="ValidationMessage"> element following the HTML <input> element. See how widgets are translated into HTML tags. You can change the look and feel of the validation messages by customizing the ValidationMessage style in the style sheet.
Read / Write. Text type.
About Runtime Properties | About List Box Widget | List Box Widget Properties | Button Widget Properties | Link Widget Properties | Widgets and HTML Tags