IDynamicContentOptions

Options for including dynamic content in the PDF document regardless of the current survey answers.

Assign an object with these options to the IDocOptions.dynamicContent property:

const pdfDocOptions = {
  dynamicContent: {
    choiceComments: true,
    // ...
  }
};

const surveyPdf = new SurveyPDF.SurveyPDF(surveyJson, pdfDocOptions);

// In modular applications:
import { SurveyPDF } from "survey-pdf";

const surveyPdf = new SurveyPDF(surveyJson, pdfDocOptions);

Documentation: Dynamic Content

choiceComments property

Specifies whether to include configured comment areas for unselected choices.

Default value: false

Type:
boolean readonly
Implemented in:
IDynamicContentOptions
See also:
IDocOptions.otherRowsCount , choiceNestedContent

Specifies whether to include nested content for unselected choices.

Default value: false

Type:
boolean readonly
Implemented in:
IDynamicContentOptions
See also:
choiceComments * , conditionalElements

Specifies whether to include choices hidden by visibility conditions.

Default value: false

Type:
boolean readonly
Implemented in:
IDynamicContentOptions
See also:
IDocOptions.tagboxSelectedChoicesOnly , conditionalElements

Specifies whether to include questions, panels, and pages hidden by visibility conditions.

Default value: false

Type:
boolean readonly
Implemented in:
IDynamicContentOptions
See also:
choiceNestedContent * , conditionalChoices

Specifies whether to include matrix columns hidden by visibility conditions.

Default value: false

Type:
boolean readonly
Implemented in:
IDynamicContentOptions
See also:
IDocOptions.matrixRenderAs , conditionalMatrixRows

Specifies whether to include matrix rows hidden by visibility conditions.

Default value: false

Type:
boolean readonly
Implemented in:
IDynamicContentOptions
See also:
IDocOptions.matrixRenderAs , conditionalMatrixColumns

Send feedback to the SurveyJS team

Need help? Visit our support page

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.