Survey Now v1.9.139
Released: April 16, 2024
Survey Now v1.9.139 includes a release version of the input mask feature and an enhanced, more readable read-only / preview mode UI for surveys.
Input Masks Officially Released! Time Mask Support Included
Input mask support, which has been in beta testing, is now officially released and suitable for use in production. This release fixes known issues and introduces time mask support in addition to already available numeric, currency, date, and pattern mask types.
Time masks are configured as part of the date and time mask type. You can use the following placeholders to add time to a date mask or create a strictly time mask:
H- Hours in 24-hour format.HH- Hours in 24-hour format, with leading zero for single-digit values.h- Hours in 12-hour format.hh- Hours in 12-hour format, with leading zero for single-digit values.MM- Minutes.ss- Seconds.TT- 12-hour clock period in upper case (AM/PM).tt- 12-hour clock period in lower case (am/pm).
The following code shows how to configure a date and time mask:
const surveyJson = {
"elements": [
{
"type": "text",
"name": "date",
"title": "Date and time:",
"maskType": "datetime",
"maskSettings": {
"pattern": "mm/dd/yyyy HH:MM" // 12/31/1999 23:59
}
}
}
}
New Design for Read-Only and Preview Modes
Read-only mode is useful for presenting information that users can view but not edit. This mode helps prevent unauthorized form modifications and share information without the risk of accidental changes. Similarly, preview mode allows respondents to review their answers before submitting them. In Survey Now v1.9.139, these modes receive a UI update. The most noticeable difference is that input field values are no longer shaded, which makes them more readable.
Previous read-only UI:
Updated read-only UI:
Previous preview UI:
Updated preview UI:
New and Updated Demos
Dashboard: Visualize Text Entry Questions as Charts
Dashboard: Gauge Chart Customization
Form Library: Custom Navigation Buttons
Bug Fixes and Minor Enhancements
Form Library
- Ranking: Enhance performance with many items (#8108)
- [Mobile] The Cancel button is not translated in Dropdown (#8113)
- Currency Input Mask: A decimal comma separator disappears when a currency value is copied to another field (#8087)
- Enhance survey preview performance (#8088)
IAction: A custom localizable title is not applied when a survey locale is defined before a custom action is added to the survey (#8093)- Custom questions: Prevent panels and pages from being registered as a specialized question type (#8081)
- [Knockout / jQuery] The
completedHtmlproperty cannot be updated within theonCompleteevent handler (#8082) - Image Picker: A long capture makes a corresponding image overlap with the neighboring one (#8101)
Survey Creator
- Translation tab: Translations appear in a different order after switching between tabs (#5348)
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
Knockout / jQuery
<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-knockout-ui.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-knockout.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>