mirror of
https://github.com/kidwellj/SelfAssessmentUOB.git
synced 2024-12-04 21:42:21 +00:00
65 lines
2.3 KiB
JavaScript
65 lines
2.3 KiB
JavaScript
function showPhrase4(value) {
|
|
var rangeInput = document.getElementById("range4");
|
|
var value = rangeInput.value;
|
|
|
|
if (value == 0) {
|
|
document.getElementById("phrase4feat").innerHTML="0 Absent during observation";
|
|
}
|
|
if (value == 1) {
|
|
document.getElementById("phrase4feat").innerHTML="1 Very low amount of this feature during observation";
|
|
}
|
|
|
|
if (value == 2) {
|
|
document.getElementById("phrase4feat").innerHTML="2 Low amount of this feature during observation";
|
|
}
|
|
|
|
if (value == 3) {
|
|
document.getElementById("phrase4feat").innerHTML="3 Average amount of this feature during observation";
|
|
}
|
|
|
|
if (value == 4) {
|
|
document.getElementById("phrase4feat").innerHTML="4 More than average amount of this feature during observation";
|
|
}
|
|
|
|
if (value == 5) {
|
|
document.getElementById("phrase4feat").innerHTML="5 Much more than average amount of this feature during observation";
|
|
}
|
|
if (value == 6) {
|
|
document.getElementById("phrase4feat").innerHTML="6 Very high amount of this feature during observation";
|
|
}
|
|
|
|
}
|
|
|
|
|
|
function showPhrase4a(value) {
|
|
var rangeInput = document.getElementById("range4a");
|
|
var value = rangeInput.value;
|
|
|
|
if (value == 0) {
|
|
document.getElementById("phrase4part").innerHTML="-3 I am so focused on this feature that it completely interferes with my participation";
|
|
}
|
|
if (value == 1) {
|
|
document.getElementById("phrase4part").innerHTML="-2 This feature moderately interferes with my participation";
|
|
}
|
|
|
|
if (value == 2) {
|
|
document.getElementById("phrase4part").innerHTML="-1 This feature mildly interferes with my participation";
|
|
}
|
|
|
|
if (value == 3) {
|
|
document.getElementById("phrase4part").innerHTML="0 It does not seem to affect my participation";
|
|
}
|
|
|
|
if (value == 4) {
|
|
document.getElementById("phrase4part").innerHTML="1 This feature mildly supports my participation";
|
|
}
|
|
|
|
if (value == 5) {
|
|
document.getElementById("phrase4part").innerHTML="2 This feature moderately supports my participation";
|
|
}
|
|
if (value == 6) {
|
|
document.getElementById("phrase4part").innerHTML="3 This feature completely supports my participation";
|
|
}
|
|
|
|
}
|