SurveyJS v2.5.15

Released: March 11, 2026

SurveyJS v2.5.15 introduces new API settings for customizing expression syntax and adds support in Survey Creator for preserving incorrect property values so users can correct them later. Bug fixes and minor enhancements are included as well.

API to Customize Expression Syntax

This release introduces two global settings that allow you to customize parts of the expression syntax.

expressionVariableDelimiters

expressionVariableDelimiters specifies delimiters used to reference variables in expressions and dynamic texts. It accepts an object with start and end string properties.

By default, SurveyJS uses curly braces ({ and }). You can replace them with other symbols or symbol sequences:

import { settings } from "survey-core";

// {{variableName}}
settings.expressionVariableDelimiters = { start: "{{", end: "}}" };

// {% variableName %}
settings.expressionVariableDelimiters = { start: "{% ", end: " %}" };

// %variableName%
settings.expressionVariableDelimiters = { start: "%", end: "%" };

expressionElementPropertyPrefix

The recently introduced capability to access element property values within expressions and dynamic texts uses the dollar sign ($) as the default prefix. The expressionElementPropertyPrefix setting allows you to change this prefix or disable the feature entirely:

import { settings } from "survey-core";

// Use @ to access element property values
settings.expressionElementPropertyPrefix = "@";

// Disable accessing element property values within expressions
settings.expressionElementPropertyPrefix = "";

[Survey Creator] Property Editors Preserve Invalid Values for Later Correction

Previously, property editors cleared property values if they were invalid. This behavior could disrupt the workflow when users intended to fix the value later.

Starting with Survey Creator v2.5.15, invalid values are preserved instead of being removed. Users can continue working in the Property Grid and return to correct the value later. Invalid values are stored in temporary storage and are not included in the survey JSON schema until they are corrected.

New Help Topics

How to Create a Custom Thank You Page

Bug Fixes and Minor Enhancements

Form Library

  • Source code contains circular dependencies (#10975)
  • Numeric Input: Step error text cannot be customized in the survey JSON schema (#10959)
  • Radio Button Group / Checkboxes: "Other" input field doesn't support immediate required validation (#10964)

Survey Creator

  • Logic tab: useElementTitles setting is ignored for choice options in conditions (#7490)
  • Toolbox search doesn't work in Shadow DOM (#7406)

How to Update SurveyJS Libraries in Your Application

Angular
npm i survey-core@v2.5.15 survey-angular-ui@v2.5.15 --save
npm i survey-creator-core@v2.5.15 survey-creator-angular@v2.5.15 --save
npm i survey-analytics@v2.5.15 --save
npm i survey-pdf@v2.5.15 --save
React
npm i survey-core@v2.5.15 survey-react-ui@v2.5.15 --save
npm i survey-creator-core@v2.5.15 survey-creator-react@v2.5.15 --save
npm i survey-analytics@v2.5.15 --save
npm i survey-pdf@v2.5.15 --save
Vue.js
npm i survey-core@v2.5.15 survey-vue3-ui@v2.5.15 --save
npm i survey-creator-core@v2.5.15 survey-creator-vue@2.5.15 --save
npm i survey-analytics@2.5.15 --save
npm i survey-pdf@2.5.15 --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@2.5.15/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@2.5.15/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@2.5.15/survey-js-ui.min.js"></script>

<script src="https://unpkg.com/survey-core@2.5.15/themes/index.min.js"></script>
<script src="https://unpkg.com/survey-creator-core@2.5.15/themes/index.min.js"></script>

<link href="https://unpkg.com/survey-creator-core@2.5.15/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@2.5.15/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@2.5.15/survey-creator-js.min.js"></script>

<link href="https://unpkg.com/survey-analytics@2.5.15/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@2.5.15/survey.analytics.min.js"></script>

<script src="https://unpkg.com/survey-pdf@2.5.15/survey.pdf.min.js"></script>
<script src="https://unpkg.com/survey-pdf@2.5.15/pdf-form-filler.min.js"></script>

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.