User Tools

Site Tools


bpsliders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bpsliders [2022/03/30 09:21] adminbpsliders [2023/09/24 16:52] (current) – [bpSliders - Bipolar or AHP Sliders] admin
Line 14: Line 14:
 {{ ::ahp_example.png?600 |bpSliders AHP Example}} {{ ::ahp_example.png?600 |bpSliders AHP Example}}
  
-This function is available for a reasonable fee. Contact [[https://community.qualtrics.com/XMcommunity/messages/add/TomG|TomG]] on the Qualtrics Community to learn more.+This function is available for a reasonable fee. Contact **[[https://community.qualtrics.com/inbox/conversation?with=373|TomG]]** on the Qualtrics Community to learn more.
 ===== Set-up Instructions ===== ===== Set-up Instructions =====
 ==== Question Settings ==== ==== Question Settings ====
Line 20: Line 20:
   * Type: Sliders   * Type: Sliders
   * Custom Start Position: 0   * Custom Start Position: 0
-  * Scale Points: -X to X +  * Scale Points: -X to X (common values for X are 5 or 10) 
-  * Grid lines: X x 2+  * Grid lines: 2X
   * Mobile friendly: recommended   * Mobile friendly: recommended
   * Force response: recommended   * Force response: recommended
 ==== Add Function To Survey ==== ==== Add Function To Survey ====
-To make the function available to all questions in the survey, copy the function to the Survey Header inside a script tag: 
 Add the bpSliders function to the survey header to make it available to any question in the survey.   Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided bpSliders function JS: Add the bpSliders function to the survey header to make it available to any question in the survey.   Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided bpSliders function JS:
 <code> <code>
Line 39: Line 38:
 </code> </code>
  
-To override the default options, specify the desired options in the second function argument as an object. For example:+To override the default options, specify the desired **[[bpsliders#Options|options]]** in the second function argument as an object. For example:
 <code> <code>
 Qualtrics.SurveyEngine.addOnload(function() { Qualtrics.SurveyEngine.addOnload(function() {
Line 52: Line 51:
 ===== Options ===== ===== Options =====
 ==== allowZero ==== ==== allowZero ====
-**allowZero** specifies if zero (0) answers should be allowed. It works in conjunction with Qualtrics custom validation and highlightErrors. For AHP sliders, setting allowZero to false is recommended because AHP scales go from 1 to 9. +**allowZero** specifies if zero (0) answers should be allowed. It works in conjunction with Qualtrics custom validation and **[[bpsliders#highlightErrors|highlightErrors]]**. For AHP sliders, setting allowZero to false is recommended because AHP scales go from 1 to 9. 
  
 Default: true (on) Default: true (on)
Line 62: Line 61:
 **highlightErrorStyle** defines the CSS style used for highlighting unanswered rows. **highlightErrorStyle** defines the CSS style used for highlighting unanswered rows.
  
-Default: 2px dashed red+Default: %%"2px dashed red"%%
 ==== lwidth ==== ==== lwidth ====
 **lwidth** ONLY applies to non-mobile friendly sliders and specifies the width of the slider labels in pixels. **lwidth** ONLY applies to non-mobile friendly sliders and specifies the width of the slider labels in pixels.
Line 68: Line 67:
 Default: 120 Default: 120
 ==== repeatScale ==== ==== repeatScale ====
-**repeatScale** defines how often the numeric scale should be repeated if [[bpsliders#showScale|showScale]] is true (e.g., repeatScale:3 means repeat every 3 rows). 0 (zero) turns repeat off.+**repeatScale** defines how often the numeric scale should be repeated if **[[bpsliders#showScale|showScale]]** is true (e.g., repeatScale:3 means repeat every 3 rows). 0 (zero) turns repeat off.
  
 Default: 0 Default: 0
Line 80: Line 79:
 Default: false Default: false
 ==== suppressScaleMinus ==== ==== suppressScaleMinus ====
-**suppressScaleMinus** specifies whether numeric scale minus signs should be suppressed is [[bpsliders#showScale|showScale]] if true (e.g. a numeric scale that goes from -10 to 10).+**suppressScaleMinus** specifies whether numeric scale minus signs should be suppressed if **[[bpsliders#showScale|showScale]]** is true (e.g. a numeric scale that goes from -10 to 10).
  
 Default: true Default: true
Line 93: Line 92:
   * Mobile friendly: On   * Mobile friendly: On
 ==== Custom Validation ==== ==== Custom Validation ====
-'AND' for each row:+To not allow zeros, 'AND' the following for each row:
   * Not Empty   * Not Empty
   * Not Equal to 0    * Not Equal to 0 
Line 112: Line 111:
 }); });
 </code> </code>
 +====== Qualtrics Wiki ======
 +[[start|Qualtrics Wiki]]
  
  
bpsliders.1648646509.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki