Thomas Gibbons Consulting Qualtrics Wiki

Contact TomG on Qualtrics Community

User Tools

Site Tools


matrixprofiletextabove

matrixProfileTextAbove - Move matrix profile statements above answer choices

The matrixProfileTextAbove moves matrix profile statements above answer choices when in 'desktop' mode. Features:

  1. Compatible with mobile friendly accordion (NO impact on accordion mode)
  2. Supports resizing (switching from desktop to mobile mode and vice versa)
  3. Maintains formatting from your theme (alternate shading, etc.)
  4. Enables custom formatting of statements using CSS (font size, font style, padding, etc.)
  5. Compatible with matrixHighlightUnanswered

Example:

matrixProfileTextAbove Example

This function is available for a reasonable fee. Contact TomG on the Qualtrics Community to learn more.

Set-up Instructions

Add Function To Survey

Add the matrixProfileTextAbove function to the survey header to make it available to any question in the survey. Go to Look & Feel → General → Header edit → and paste the provided matrixProfileTextAbove function JS inside a script tag:

<script>/*Paste matrixProfileTextAbove function JS here*/</script>

Alternatively, paste the matrixProfileTextAbove function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page.

JavaScript Function Call

Add JS to call the matrixProfileTextAbove function to apply it to the Matrix Profile question as follows:

Qualtrics.SurveyEngine.addOnload(function() {
	matrixProfileTextAbove(this);
});

Custom CSS

To enable custom formatting, the function adds classes for formatting the statement rows and statement cells.

mpLabelRow Class

The mpLabelRow class can be used to format the statement rows. Example CSS:

.mpLabelRow { /* add CSS styles here */ }

mpLabelCell Class

The mpLabelCell class can be used to format the statement cells. Example CSS:

.mpLabelCell { /* add CSS styles here */ }

Qualtrics Wiki

matrixprofiletextabove.txt · Last modified: 2022/11/29 16:53 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki