Available in: Logi Info | Source code name: Validation.Javascript |
Validates input by calling a custom javascript function.
Set JavascriptFunction to a custom function found in the report. It will be run by the browser. When the custom script detects an error, it should call throw() to trigger display of the error message.
If the validation does not pass, the ErrorMsg gets displayed in a message box. ErrorMsg can contain a special string "{error}". {error} gets replaced by throw() function's expression parameter.
|