SurveyJS PDF Generator v2.5.10
Released: Feb 12, 2026
Mises à jour de v2.5.10
Fonctionnalités
- Introduced Online Survey JSON Schema Validator
- The online survey JSON schema validator is a backend service that validates SurveyJS JSON schemas and user responses. It helps detect configuration errors in survey definitions and ensures that collected responses conform to the corresponding survey schema. You can deploy this service as part of your backend infrastructure and expose it via a simple HTTP API.
- Expressions: Caching for Custom Functions
- Expressions support custom functions, which are often used to perform data- or time-consuming operations, such as server requests. To improve performance and reduce unnecessary network traffic, SurveyJS now supports caching for custom functions.
- When caching is enabled, each function call with a unique set of arguments is stored in memory. If the function is called again with the same arguments, the cached result is returned and the request is not repeated. In addition, SurveyJS tracks survey variables, question values, and element properties accessed inside the function and re-evaluates the function only when those dependencies change.
- To enable caching, set the
useCache option to true when registering a custom function. Note that the function registration API has been updated: instead of registering functions via FunctionFactory, use the static registerFunction method.
- Single- and Multi-Select Dropdowns: Enhanced Choice Selection on Desktop
- Single- and Multi-Select Dropdown questions now support improved keyboard and mouse interactions in desktop environments.
- Previously, users could select a choice by clicking it or pressing Enter. These actions continue to work. In addition, pressing Tab now saves the current selection and moves focus to the next survey element (enabled by default). You can also configure the dropdown to save the selection when the user clicks outside the editor. To enable this behavior, set the global
dropdownSaveOnOutsideClick setting to true.
- For Dropdown questions that allow custom choices, pressing Tab now saves the custom value as well (enabled by default). When the
dropdownSaveOnOutsideClick setting is enabled, clicking outside the editor also saves the custom choice.
- To close the dropdown without saving a selection or creating a custom item, users can press Esc.
- These enhancements streamline both choice selection and custom value entry. The updated behavior applies to desktop devices only; the mobile user experience remains unchanged.
Correctifs
- Form Library
- Dynamic Panel:
validateExpressions() creates an extra panel instance when defaultValue is set on a question inside templateElements.
validateExpressions() incorrectly reports UnknownVariable when indices are used within expressions.
- "Other" text field: Space characters are not inserted when using Apple Pencil and Scribble.
- Survey Creator
- Multi-Select and Dynamic Matrices: Choices are still added even though the default JSON is overridden and doesn't contain them.
- The "Toolbox" caption is not translated when the Toolbox in located in the Property Grid sidebar.
- Themes tab: Selected category persists even if a different category is activated during search.
- No API for displaying the "Start configuring your form" screen when a survey editor removes all survey elements.