Custom Drag-and-Drop Ranking

Zachary Anderson
Last updated: 12 Apr 2021
Written for: Lighthouse Studio 9.3

0han6md

Description

A customizable drag-and-drop ranking question. Supports defining a minimum and maximum number of items to rank, as well as adding other specify fields to items.

Instructions

  • Line 37 of the ranking's footer must be updated with the minimum number of items to rank.
  • Line 38 of the ranking's footer must be updated with the maximum number of items to rank.
  • Lines 41-54 of the ranking's footer must be updated with the other specify settings. For each other specify field, item must be set with the related item, multiline with whether the other specify should support multiple line responses, and minimumCharacters and maximumCharacters with the minimum and maximum characters the other specify will require.
    • An example when no other specify fields are required: otherSpecifyItems = [],.
  • Lines 9-10 of the second helper's footer must be updated with the names of the ranking and first helper questions, respectively.

Options

  • If the first helper question does not appear immediately after the ranking question, line 34 of the ranking's footer can be updated with the name of the first helper question.
  • Lines 57-58 of the ranking's footer can be updated with the error messages to show when respondents attempt to submit the page with an invalid response. In both messages, [MINIMUM] and [MAXIMUM] will be replaced accordingly.
  • The second helper question may optionally be removed from the questionnaire. If removed, understand that the first helper's _NumberRanked variable that records how many items the respondent truly ranked.