IExpressionValidationResult
An interface that describes the result returned by the validateExpressions method.
A list of validation errors detected in the expression.
Each error object in this array may contain the following properties:
errorType:ExpressionErrorType
The type of validation error: 0 –SyntaxError, 1 –UnknownFunction, 2 –UnknownVariable, or 3 –SemanticError.functionName:string
The name of the unknown function. Present only whenerrorTypeisUnknownFunction.variableName:string
The name of the unknown variable. Present only whenerrorTypeisUnknownVariable.
- Type:
- IExpressionError[] readonly
- Implemented in:
- IExpressionValidationResult
A SurveyJS object (question, panel, page, collection item, or the survey itself) that contains the validated expression.
- Type:
- Base readonly
- Implemented in:
- IExpressionValidationResult
The name of the property that holds the expression.
- Type:
- string readonly
- Implemented in:
- IExpressionValidationResult
Send feedback to the SurveyJS team
Need help? Visit our support page