Survey Now v1.12.17
Released: December 30, 2024
Survey Now v1.12.17 adds an event for panel number customization and includes minor bug fixes and enhancements.
Customize Panel Numbering
In addition to the onGetQuestionNumber and onGetPageNumber events, Survey Now Form Library now supports an event that allows you to customize automatically generated numbers of panels—onGetPanelNumber. This event provides a similar API: use the options.panel parameter to access the PanelModel instance for which the event is raised and the options.number parameter to access and change the generated number:
import { Model } from "survey-core";
const surveyJson = { ... }
const survey = new Model(surveyJson);
survey.onGetPanelNumber.add((_, options) => {
if (options.panel.name === "panel1") {
options.number = "0. ";
}
});
Bug Fixes and Minor Enhancements
Form Library
- Survey Creator: Hover effects stop applying to list items (#9202)
How to Update Survey Now Libraries in Your Application
Angular
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
React
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
Vue 3
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
Vue 2
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/[email protected]/defaultV2.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/[email protected]/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/[email protected]/themes/index.min.js"></script>
<link href="https://unpkg.com/[email protected]/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/[email protected]/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/[email protected]/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/survey.analytics.min.js"></script>
<script src="https://unpkg.com/[email protected]/survey.pdf.min.js"></script>