IExpressionValidationResult

An interface that describes the result returned by the validateExpressions method.

Properties
Methods
Events
errors property

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 when errorType is UnknownFunction.

  • variableName: string
    The name of the unknown variable. Present only when errorType is UnknownVariable.

Type:
IExpressionError[] readonly
Implemented in:
IExpressionValidationResult
obj property

A SurveyJS object (question, panel, page, collection item, or the survey itself) that contains the validated expression.

Type:
Base readonly
Implemented in:
IExpressionValidationResult
propertyName property

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

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.