Custom Dropdown

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

Yxsxhth

Description

A customizable dropdown question. Supports radio buttons and checkboxes, as well the ability to search response options.

Instructions

  • Requires Better Lighthouse Library.
  • This question should be set to use radio buttons if respondents are meant to only select a single item, or set to use checkboxes if respondents are meant to select multiple items. This question should not be set to dropdown.
  • Line 13-34 of the footer must be updated to define what text is displayed in the dropdown when closed. Deleting lines 22-34 is a good start for radio buttons; deleting lines 13-20 is a good start for checkboxes.

Options

  • Line 4 of the footer can be updated with whether the dropdown should support searching response options.
  • Line 5 of the footer can be updated with whether the dropdown should automatically close upon selecting a response option. Usually true for radio buttons; usually false for checkboxes or questions with other specify items.
  • Line 6 of the footer can be updated with whether the radio buttons or checkboxes should be hidden. Usually true for radio buttons, false for checkboxes.
  • Lines 8-9 of the footer can be updated with the close and open symbols used by the dropdown.
  • Line 10 of the footer can be updated with the placeholder text that appears when waiting for the respondent to begin typing.
  • Line 11 of the footer can be updated with the text to show when a search returns no results.