Drag-to-Container Ranking Unless Mobile

Zachary Anderson
Last updated: 02 Aug 2021
Written for: Lighthouse Studio 9.3


A "drag-to-container" ranking question that loads as a "sort vertically" ranking question on narrow devices.


  • If respondents are not to rank all items, line 4 of the footer must be replaced with the number of items to rank. Example: itemsToRank = 3;


  • Line 5 of the footer can be updated with whether or not one click ought to rank all items.
  • Line 6 of the footer can be updated with a cutoff width that will force respondents with more narrow screens to see the question in mobile view; off by default.  Useful for later versions of Lighthouse Studio.  Example: var widthCutoff = 800;