NIPO ODIN Version 5.17
JavaScriptSupported
The variable JavaScriptSupported can be used to make a runtime check if JavaScript is installed and enabled on the browser. This feature is supported for NIPO CAWI only. Note that variable must be defined prior to use. The check is executed at the first question of the questionnaire (not including the introduction screen) and can therefore not be used before the second question.
Example:
*VARS JavaScriptSupported
*TEXTVARS IsIsnt
*QUESTION 1 In this question NIPO ODIN checks for the availability of JavaScript.
*IF [JavaScriptSupported = 1 ] *PUT IsIsnt "is" *ELSE *PUT IsIsnt "is NOT"
*QUESTION 2 On this browser, JavaScript *?IsISnt supported.
|