SurveyJS PDF Generator 新版本发表

Released: Jun 4, 2025

v2.1.1 中的更新

特性

  • Added support for Exclusive Options in Checkbox Questions:
    • An exclusive option clears all other selected choices in the same question when chosen.
    • The Checkboxes question type in SurveyJS already supports predefined exclusive options, such as None, Refuse to Answer, and Don't Know.
    • You can now make any option exclusive by enabling its isExclusive property.
    • To mark a choice option as exclusive in Survey Creator, locate the Choices table, click a Pen icon next to the desired option, and enable...

Released: May 27, 2025

v2.1.0 中的更新

特性

  • Form Library Accessibility Now Reaches 100%:
    • SurveyJS Form Library is 100% accessible when using the Contrast theme.
  • Populate Existing PDF Forms with Survey Responses:
    • PDF forms often include interactive fields that allow users to fill out the form within their PDF viewer and then save, share, or print it. Starting with v2.1.0, SurveyJS introduces a plugin that enables you to link survey fields to editable fields within a PDF form. Users can enter data through a dynamic SurveyJS interface...

Released: May 20, 2025

v2.0.10 中的更新

特性

  • Added two more functions that you can use for calculations within expressions:
    • round(num, precision): Rounds the given number to the specified number of decimal places.
    • trunc(num, precision): Truncates the given number to the specified number of decimal places.

修补程序

  • Skip Logic in question-per-page mode:
    • Navigating back would take users to the preceding question in the survey JSON schema instead of the actual previous question.
    • Didn't work in question-per-page mode if the...

Released: May 14, 2025

v2.0.9 中的更新

修补程序

  • Checkboxes:
    • Answer count validation was triggered if one of the special choice options (None, Don't Know, or Refuse to Answer) was selected.
  • Accessibility:
    • Table of Contents doesn't pass Axe checks.
    • Dynamic Panel: Progress bar nodes do not have accessible names.
    • Matrix with detail sections: Expand and collapse buttons do not have accessible titles.
    • Image question: Frame elements do not have accessible names and ARIA attributes are used on unsupported elements.
  • Survey Creator:
    • Multi-Select...

Released: May 6, 2025

v2.0.8 中的更新

修补程序

  • Question randomization didn't work in question-per-page mode.
  • The otherItemText localization string was used for Comment as well as for the Other choice option.
  • Skip Logic didn't work in question-per-page mode.
  • An error was thrown when a survey shows a preview of given answers and survey elements have descriptions.
  • Input mask didn't immediately apply if the question value is changed outside the input field.

Released: Apr 30, 2025

v2.0.7 中的更新

特性

Added a New Loop and Merge Functionality

  • Added a "Loop and Merge" Demo:
    • Loop and Merge is a feature that allows you to repeat a group of questions and combine the responses into one data object.
    • The loop can either iterate over the same set of questions for each item or adjust dynamically based on user input.
    • Supported Question Types - A question loop can be created using one of the complex question types:
      • Single-Select Matrix.
      • Multi-Select Matrix.
      • Dynamic Matrix.
      • Dynamic Panel.
    • Single- and...

Released: Apr 23, 2025

v2.0.6 中的更新

修补程序

  • Form Library
    • Composite question assigns only a part of nested question values if there is a comment value.
    • Single-Line input doesn't assign a date with an applied input mask.
    • Multi-Select Matrix: A file placeholder overlaps a file preview when File Upload is within a detail section.
    • Advanced Header View: A survey description appears regardless of the showTitle property being set to false.
    • [Survey Creator] Multi-Select Matrix column: Character placeholders in a pattern input mask do not...

Released: Apr 15, 2025

v2.0.5 中的更新

修补程序

  • Table of Contents doesn't work in 'question-per-page' survey mode.
  • Table of Contents doesn't appear if a survey JSON schema is loaded after rendering a survey.
  • Yes/No (Boolean) Question: When selecting a value for the first time, the Yes label is not announced by a screen reader.
  • Single-Select Matrix: A screen reader announces too much information when selecting each option.
  • XMLHttpRequest and Image are not supported by Node.js.
  • Advanced header is misaligned when static width is specified...

Released: Apr 8, 2025

v2.0.4 中的更新

特性

  • Enhanced UI for Surveys with a Header and Table of Contents:
    • The position of the survey header is now relative to the Table of Contents (TOC) depending on whether the header has a background color or image.
    • Without a background, the header appears beside the TOC, and the TOC spans the full height of the survey.
    • With a background color or image, the survey header stretches across the full width of the survey, including the area occupied by the TOC.

修补程序

  • When survey.data contains a number as a...

Released: Apr 2, 2025

v2.0.3 中的更新

特性

  • Added Recursive Question Numbering: In this mode, survey elements are numbered in a manner that takes into account their nesting level.
    • For example, questions nested in a panel with number 1 receive numbers 1.1, 1.2, 1.3, etc.
    • To enable recursive numbering, set SurveyModel's showQuestionNumbers property to "recursive".
  • Added support for hours and minutes in the dateDiff() function: The dateDiff function can be used in expressions to calculate a difference between two dates. Previously, this...