Mashup Builder > Widgets > Validator Widget
  
Validator Widget
The Validator widget can be used to do simple client-side JavaScript execution, similar to the Expression widget. During configuration, you can create bindable target parameters to which you can bind widget and service values to use with your JavaScript. In the Validator widget, the result must be a boolean, and when the result is calculated, an event (true or false) is triggered. The Validator widget is invisible at run time.
Properties
For information about common widget properties, see Widgets. Properties that are specific to the Validator widget are described in the table below.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
Expression
Field in which to create the JavaScript
STRING
n/a
N
N
AutoEvaluate
Executes the expression automatically
BOOLEAN
false
N
N
Output
Output of the expression
BOOLEAN
false
Y
N
True
If the result is true, the true event is triggered.
n/a
n/a
Y
N
False
If the result is false, the false event is triggered.
n/a
n/a
Y
N
Evaluate
Runs the expression
n/a
n/a
Y
N