When you use a Check Box widget in your web screens or web blocks, the following runtime property is available:

Read only. Type of Text.

When inputs are submitted, the platform automatically performs two validations: If the input is mandatory, checks if the end-user filled it. It also checks if the data submitted by the end-user complies with the data type of the variable associated with the input.

If any of these two validations fails, the widget Valid property is set to False.

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.

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.

What You Should Know

See Also

About Runtime Properties | About Check Box Widget | Check Box Widget Properties | Button Widget Properties | Link Widget Properties | Widgets and HTML Tags