release notes

SurveyJS v1.9.125

Released: January 11, 2024

SurveyJS v1.9.125 implements a capability to prevent duplicate responses in rows of a Single-Select Matrix, introduces an API to specify default titles for questions created based on custom question types, and includes other enhancements and bug fixes.

Single-Select Matrix: Prevent duplicate responses in rows

A Single-Select Matrix displays multiple survey questions with identical answers in a table form and allows respondents to select one answer in each row. If you want the answers to be unique across all rows, you can now enable a new eachRowUnique property for your Single-Select Matrix:

const surveyJson = {
  "elements": [{
    "type": "matrix",
    // ...
    "eachRowUnique": true
  }]
}

If a respondent submits duplicate answers, the matrix displays a validation error:

A Single-Select Matrix with prevented duplicate responses in rows

Default question title for custom question types

SurveyJS Form Library enables you to create custom specialized and composite question types to customize and group form fields. However, previous SurveyJS versions didn't allow you to specify a default question title that would be used instead of a question name when Survey Creator users create a new question based on your custom question type or when Form Library displays the custom question in a form. SurveyJS v1.9.125 support this capability using a new defaultQuestionTitle property, which is part of the ICustomQuestionTypeConfiguration interface. This property accepts a default question title as a string value or as an object that defines different titles for different locales:

import { ComponentCollection } from "survey-core";

ComponentCollection.Instance.add({
  // ...
  defaultQuestionTitle: "Default title"
});
// ===== OR =====
ComponentCollection.Instance.add({
  // ...
  defaultQuestionTitle: {
    en: "Default title",
    de: "Standardtitel",
    fr: "Titre par défaut"
  }
});

New and Updated Demos

Conference Registration Form

Feedback Form

New Blog Post

Understanding Text Piping in SurveyJS Forms: A-Z Guide

Bug Fixes and Minor Enhancements

Form Library

  • Questions within custom components do not display survey variable values (#7640)
  • default attribute doesn't apply for a custom localizable property (#7630)
  • Performance on loading a JSON object with many matrices could be improved (#7643)

Survey Creator

  • Question type selector is displayed incorrectly (#5060)

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

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.