IDataIssue

Describes an issue reported by the SurveyModel.setData() method.

Methods
Events
expressionResult property

The value stored in the survey after loading.

This property applies only to "expressionResultMismatch" issues and is undefined if the value was removed.

Type:
any readonly
Implemented in:
IDataIssue
path property

The value's location in the survey data, such as "panel1[2].q1" or "matrix.row1.col1".

This path is intended for display, not parsing, because property names are not escaped.

Type:
string readonly
Implemented in:
IDataIssue
question property

The question associated with the issue, or undefined if the data property does not correspond to a question.

For nested values, this is the cell or panel question. For an "expressionResultMismatch" issue, it is the question associated with the root data property.

Type:
Question readonly
Implemented in:
IDataIssue
type property

Identifies the issue type.

Possible values:

  • "unknownProperty"
    A data property does not correspond to a recognized survey result field.

  • "invalidValueType"
    A value's type or structure does not match the question configuration.

  • "invalidChoiceValue"
    A value does not match an available choice, matrix column or row, or rating value.

  • "expressionResultMismatch"
    A value was added, changed, or removed by expressions, defaults, triggers, or other logic applied during loading.

Type:
"unknownProperty" | "invalidValueType" | "invalidChoiceValue" | "expressionResultMismatch" readonly
Implemented in:
IDataIssue
value property

The value associated with the issue.

For an "expressionResultMismatch" issue, this is the original value from the supplied data.

Type:
any readonly
Implemented in:
IDataIssue

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.