Survey Now v1.12.16
Released: December 24, 2024
Survey Now v1.12.16 introduces a new dateAdd function for expressions and includes bug fixes and minor enhancements.
Expressions: New dateAdd() function
Survey Now v1.12.16 introduces a new built-in function that you can use in expressions—dateAdd(date, numberToAdd, interval). This function adds or subtracts a specified number of full days (default), months, or years to or from a date value and returns a new Date object:
// Adds 14 days to today's date
"dateAdd(today(), 14)"
// Adds 6 months to the value of a `start-date` question
"dateAdd({start-date}, 6, 'months')",
// Subtracts 10 years from the value of a `birthdate` question
"dateAdd({birthdate}, -10, 'years')"
New Help Topics
Survey Creator: How to Customize Validation Messages
New and Updated Demos
Survey Creator: Customize the Designer and Preview Tabs
Survey Creator: Page-by-Page Form Editing
Bug Fixes and Minor Enhancements
Form Library
- Table of Contents doesn't allow users switch pages when
validationAllowCompleteandvalidationAllowSwitchPagesare enabled (#9177) - Table of Contents is not synchronized with the first invalid page when the survey is in single-page mode (#9182)
- Duplicate error messages appear during async validation (#8993)
- Multiple Textboxes: The
onPropertyChangedevent is not raised when changing a property of an inner item (#9200) - Dynamic Matrix displays empty detail forms in the survey preview (#9175)
Survey Creator
- Property Grid incorrectly scrolls an editor into view during search (#6286)
- Design surface: Adorners flicker for questions nested within more than one panel (#6271)
Dashboard
- A dropdown with hidden questions disappears when you try to reorder other visualizers (#493)
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>