strooptest
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| strooptest [2021/11/12 14:34] – [hideClass] admin | strooptest [2023/09/24 16:42] (current) – [stroopTest - Conduct a Stroop Test in Qualtrics] admin | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| Here is a demo:\\ | Here is a demo:\\ | ||
| - | {{ :qualtrics_strooptest_demo.mp4?600 |stroopTest Demo}} | + | {{ :stroop.mp4?600 |stroopTest Demo}} |
| + | |||
| + | This function is available for a reasonable fee. Contact **[[https:// | ||
| ===== Set-up Instructions ===== | ===== Set-up Instructions ===== | ||
| ==== Add Stroop Test Block to Survey ==== | ==== Add Stroop Test Block to Survey ==== | ||
| - | The stroopTest function uses Qualtrics Loop & Merge functionality. There will be one Stroop question within | + | The stroopTest function uses Qualtrics Loop & Merge functionality. There will be one Stroop question within |
| ==== Add Form Field Question to Stroop Block ==== | ==== Add Form Field Question to Stroop Block ==== | ||
| The stroopTest function is built upon a Qualtrics Form Field Question with six fields in this order: | The stroopTest function is built upon a Qualtrics Form Field Question with six fields in this order: | ||
| Line 37: | Line 39: | ||
| Copy and paste the provided stroopTest function JavaScript code to the question' | Copy and paste the provided stroopTest function JavaScript code to the question' | ||
| ==== JavaScript Function Call ==== | ==== JavaScript Function Call ==== | ||
| - | Call the stroopTest function from the question' | + | Call the stroopTest function from the question' |
| < | < | ||
| Qualtrics.SurveyEngine.addOnReady(function() { | Qualtrics.SurveyEngine.addOnReady(function() { | ||
| Line 50: | Line 52: | ||
| }); | }); | ||
| </ | </ | ||
| - | See [[stroopTest# | + | See **[[stroopTest# |
| ==== Add Stroop Test Instructions Question ==== | ==== Add Stroop Test Instructions Question ==== | ||
| In the question block just prior to the Stroop question block, add a text/ | In the question block just prior to the Stroop question block, add a text/ | ||
| Line 61: | Line 63: | ||
| These fields must be added to the survey flow in order to record them in the Qualtrics response data. The stroopTest function will work regardless of whether the fields are recorded or not. | These fields must be added to the survey flow in order to record them in the Qualtrics response data. The stroopTest function will work regardless of whether the fields are recorded or not. | ||
| === stroopScore === | === stroopScore === | ||
| - | Captures | + | **stroopScore** captures |
| === stroopTotalTime === | === stroopTotalTime === | ||
| - | Captures | + | **stroopTotalTime** captures |
| === stroopCongruentCount === | === stroopCongruentCount === | ||
| - | Captures | + | **stroopCongruentCount** captures |
| === stroopIncongruentCount === | === stroopIncongruentCount === | ||
| - | Captures | + | **stroopIncongruentCount** captures |
| ==== Configuration Embedded Data Fields ==== | ==== Configuration Embedded Data Fields ==== | ||
| These fields allow for a convenient way to set stroopTest function options without having specify them in the stroopTest function call. | These fields allow for a convenient way to set stroopTest function options without having specify them in the stroopTest function call. | ||
| === stroopMsTimeout === | === stroopMsTimeout === | ||
| - | The number of milliseconds the respondent has to complete each Stroop task. If set to zero, there is no time limit. Must be a whole number. | + | **stroopMsTimeout** is the number of milliseconds the respondent has to complete each Stroop task. If set to zero, there is no time limit. Must be a whole number. |
| === stroopMsFocus === | === stroopMsFocus === | ||
| - | The number of milliseconds the respondent has to focus (display of ' | + | **stroopMsFocus** is the number of milliseconds the respondent has to focus (display of ' |
| === stroopMsResult === | === stroopMsResult === | ||
| - | The number of milliseconds the task result (e.g., Correct) will be displayed before moving to the next task. Must be a whole number. | + | **stroopMsResult** is the number of milliseconds the task result (e.g., Correct) will be displayed before moving to the next task. Must be a whole number. |
| === stroopTasks === | === stroopTasks === | ||
| - | The number of tasks in the test. __Must__ be a whole number and should __always__ match the number of loops. | + | **stroopTasks** is the number of tasks in the test. __Must__ be a whole number and should __always__ match the number of loops. |
| === padTopHide === | === padTopHide === | ||
| - | Is used to push the form fields off the bottom of the screen during loading so the respondent doesn' | + | **padTopHide** is used to push the form fields off the bottom of the screen during loading so the respondent doesn' |
| ===== stroopTest Options ===== | ===== stroopTest Options ===== | ||
| **stroopTest Options** can be used to override the default configuration by providing a second argument to the stroopTest function as an object. | **stroopTest Options** can be used to override the default configuration by providing a second argument to the stroopTest function as an object. | ||
| Line 103: | Line 105: | ||
| Use the css class .result to change the result (correct/ | Use the css class .result to change the result (correct/ | ||
| - | Default: CORRECT | + | Default: |
| ==== debug ==== | ==== debug ==== | ||
| **debug** is a boolean. When true, the form fields that capture the task results are visible. | **debug** is a boolean. When true, the form fields that capture the task results are visible. | ||
| Line 111: | Line 113: | ||
| **hideClass** is the class name of the div to be hidden after the question loads. | **hideClass** is the class name of the div to be hidden after the question loads. | ||
| - | Default: " | + | Default: |
| ==== msFocus ==== | ==== msFocus ==== | ||
| **msFocus** is the number of milliseconds the respondent has to focus (display of ' | **msFocus** is the number of milliseconds the respondent has to focus (display of ' | ||
| Line 129: | Line 131: | ||
| Default: %%parseInt(" | Default: %%parseInt(" | ||
| ==== tasks ==== | ==== tasks ==== | ||
| - | **tasks** is the number of tasks in the test. __Must__ be a whole number and should __always__ match the number of loops. It is used to force the correct number of congruent and incongruent tasks when [[strooptest# | + | **tasks** is the number of tasks in the test. __Must__ be a whole number and should __always__ match the number of loops. It is used to force the correct number of congruent and incongruent tasks when **[[strooptest# |
| Default: %%parseInt(" | Default: %%parseInt(" | ||
| ==== useQuotas ==== | ==== useQuotas ==== | ||
| - | useQuotas is a boolean. | + | useQuotas is a boolean. |
| Default: true | Default: true | ||
| Line 141: | Line 143: | ||
| Use the css class .result to change the result (correct/ | Use the css class .result to change the result (correct/ | ||
| - | Default: " | + | Default: |
| + | ====== Qualtrics Wiki ====== | ||
| + | [[start|Qualtrics Wiki]] | ||
strooptest.1636745679.txt.gz · Last modified: by admin
