GlideForm - showErrorBox(String name, String message, Boolean scrollForm)

Displays an error message under the specified form field (either a control object or the name of the field). If the control or field is currently off the screen and the scrollForm parameter is true, the form scrolls to the control or field.

A global property (glide.ui.scroll_to_message_field) is available that controls automatic message scrolling when the form field is off screen (scrolls the form to the control or field). The showFieldMsg() method is a similar method that requires a type parameter.

Table 1. Parameters
Name Type Description
name String Name of the field or control.
message String Message to display.
scrollForm Boolean When true scrolls the form to the field. When false the form does not scroll to the field.
Table 2. Returns
Type Description