setValid(boolean, String) method

Called to inform the extension that the Agentry field's valid state has changed.

Syntax

public void setValid (boolean valid, String validationMessage)

Parameters

Usage

The field has either become invalid and the user needs to be informed with the validation message, or it has become valid and any previously displayed validation failure text needs to be hidden.

The validation message will contain information that tells the user why their field is invalid.