release notes

SurveyJS v1.12.5

Released: October 8, 2024

SurveyJS v1.12.5 updates the Timer API, introduces a property that shows or hides the survey header on the Complete page, and includes other enhancements and bug fixes.

Timer API Update

The following timer-related properties and events are renamed to better reflect their function and maintain consistency across the entire SurveyJS Form Library API. All of API members belong to the SurveyModel class, except the last one, which belongs to PageModel.

Old API member name New API member name(s)
maxTimeToFinish timeLimit
maxTimeToFinishPage timeLimitPerPage
showTimerPanel: "top" | "bottom" | "none" showTimer: true | false and timerLocation: "top" | "bottom"
showTimerPanelMode: "page" | "survey" | "all" timerInfoMode: "page" | "survey" | "combined"
onTimer onTimerTick
PageModel.maxTimeToFinish PageModel.timeLimit

Previous names will continue to work until further notice. However, we urge you to migrate your code to the new names to make sure that future updates won't break it.

Display the Survey Header on the Complete Page

This release adds a showHeaderOnCompletePage property that specifies whether the Complete (or "Thank You") page should display the survey header. The property's default value is "auto", which specifies to display a header with the basic view, but hide a header with the advanced view (see the headerView property description for more information). Set the showHeaderOnCompletePage property to true or false if you want to show or hide the survey header regardless of its view type.

import { Model } from "survey-core";

const surveyJson = { ... };
const survey = new Model(surveyJson);
survey.showHeaderOnCompletePage = true; // or false | "auto"

New and Updated Demos

Survey Creator: Customize Property Editors

PDF Generator: Create a Read-Only PDF Form

Bug Fixes and Minor Enhancements

Form Library

  • Composite questions: A survey doesn't scroll to an element with a validation error when lazy rendering is enabled (#8898)
  • Translation tab in Survey Creator: Cell editors do not expand to display multiline text (#8895)
  • Multi-Select Matrix: The Other area is not automatically focused when users select the Other item (#8878)
  • Dynamic Matrix produces an error on adding a new row if there are hidden rows (#8909)
  • [Vue 2] An "Infinite update loop" exception occurs when cascading Dropdown questions are used (#8588)
  • Dynamic Panel: A dynamic matrix cell value is reset when adding a new dynamic panel (#8892)
  • The mobileHeight property is missing from the IHeader interface (#8882)
  • A custom property doesn't receive a value within the onSetValue function when this property is set for a matrix column (#8885)
  • Dynamic Matrix: The minRowCount property overrides rowCount (#8899)
  • A TypeScript error is produced on an attempt to apply a custom theme using a ITheme object with missing properties (#8907)

Survey Creator

  • Empty form placeholders are missing in CodeSandbox and in applications that bundle SurveyJS sources (#5930)
  • Translation tab: The language selector shows the "No data to display" message under certain conditions (#5931)
  • Custom trigger: Dependent choices are not updated in the Logic tab (#5937)
  • An unexpected Settings adorner appears when hovering over the Add Question button (#5932)

WordPress

  • Users can upload a PHP file into the plugin and execute it via file upload (#55)

How to Update SurveyJS Libraries in Your Application

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

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

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

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

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

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.