Description
Adds the following functions and events:
- Event
lighthouseResponseChanged
that fires when a response changes. - Events
lighthouseRadioButtonChanged
andlighthouseCheckboxChanged
that fire when graphical or non-graphical radio buttons or checkboxes change state. - Functions
SSI_EnableRadioButtonOrCheckbox
,SSI_DisableRadioButtonOrCheckbox
, andSSI_ToggleRadioButtonOrCheckbox
for enabling and disabling graphical and non-graphical radio buttons and checkboxes. - Functions
SSI_GetQuestionList
,SSI_GetGridRowList
, andSSI_GetGridColumnList
for getting list items of questions. - Function
SSI_GetStudySettings
for getting key study settings. - Function
SSI_GetGridQuestionSettings
for getting key settings of a grid question. - Function
SSI_GetFreeFormatQuestionSettings
for getting key settings of a free format question. - Function
SSI_GetAcbcByoQuestionSettings
for getting key settings of an ACBC BYO question.
Instructions
- Moving the code from this question's footer into your questionnaire's HTML tag will make these changes apply globally.
- Any existing uses of
SSI_CustomGraphicalRadiobox
orSSI_CustomGraphicalCheckbox
on this page must be refactored to use these events. - To use in Lighthouse Studio 9.12 and above, enable custom security headers in your survey settings and modify the line with
'self' 'unsafe-inline'
to look like'self' 'unsafe-inline' 'unsafe-eval'
.
Options
- Any of the primary features can be left off or modified. Doing so may result in behavioral changes with JavaScript on the page meant to interact with this library, including other items of the Community Question Library. Discretion is advised.