Skip to content

Feedback

This component should be used in places to gather feedback on whether certain information is helpful to improve the types and format of information provided.

Anatomy

  1. Initial Question
  2. More Details

Usage Guidelines

This component should be used in places to gather feedback on whether certain information is helpful to improve the types and format of information provided.

WordPress

This component is possible to add to sites when the "Feedback Component" feature flag is toggled on. When enabled, the component is appended automatically to FAQ content when placed in an accordion in both the FAQ Search page template and the FAQs gutenberg block.

Form submissions are processed via an AJAX request using WordPress' wp_ajax handler with an action of feedback_submit. The data is then forwarded to Qualtrics, using credentials saved in Theme Settings under Feature Flags.

Specifications

Properties

PropertyTypeDescriptionRequiredDefault
idinteger Post ID of related content to gather feedback on. Yes-
content_typestring Specific word for the related content. Defaults to 'content'. No-
classstring list of additional classes to apply to main element. No-
attrsarray list of additional HMTL attributes to apply to main element. No-
└ itemstring - --

Changelog

1.26.0 (2021-10-22)

1.18.0

  • feedback added

Contains

Other core components embedded within this template.

Examples

Default

{{ include( 'components/feedback.twig', {
	id: 239
} ) }}