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

65 lines
2.3 KiB
JavaScript

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