SelfAssessmentUOB/phrase13.js
SensoryEnvironmentTool 2900cb86d7
Add files via upload
2022-03-25 18:48:00 +00:00

65 lines
2.3 KiB
JavaScript

function showPhrase13(value) {
var rangeInput = document.getElementById("range13");
var value = rangeInput.value;
if (value == 0) {
document.getElementById("phrase13feat").innerHTML="0 Absent during observation";
}
if (value == 1) {
document.getElementById("phrase13feat").innerHTML="1 Very low amount of this feature during observation";
}
if (value == 2) {
document.getElementById("phrase13feat").innerHTML="2 Low amount of this feature during observation";
}
if (value == 3) {
document.getElementById("phrase13feat").innerHTML="3 Average amount of this feature during observation";
}
if (value == 4) {
document.getElementById("phrase13feat").innerHTML="4 More than average amount of this feature during observation";
}
if (value == 5) {
document.getElementById("phrase13feat").innerHTML="5 Much more than average amount of this feature during observation";
}
if (value == 6) {
document.getElementById("phrase13feat").innerHTML="6 Very high amount of this feature during observation";
}
}
function showPhrase13a(value) {
var rangeInput = document.getElementById("range13a");
var value = rangeInput.value;
if (value == 0) {
document.getElementById("phrase13part").innerHTML="-3 I am so focused on this feature that it completely interferes with my participation";
}
if (value == 1) {
document.getElementById("phrase13part").innerHTML="-2 This feature moderately interferes with my participation";
}
if (value == 2) {
document.getElementById("phrase13part").innerHTML="-1 This feature mildly interferes with my participation";
}
if (value == 3) {
document.getElementById("phrase13part").innerHTML="0 It does not seem to affect my participation";
}
if (value == 4) {
document.getElementById("phrase13part").innerHTML="1 This feature mildly supports my participation";
}
if (value == 5) {
document.getElementById("phrase13part").innerHTML="2 This feature moderately supports my participation";
}
if (value == 6) {
document.getElementById("phrase13part").innerHTML="3 This feature completely supports my participation";
}
}