mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
minor fixes
This commit is contained in:
parent
f091dd9113
commit
2f088898f8
@ -233,7 +233,7 @@ function processAndAppendReturn(data) {
|
|||||||
} else if (questions[j][1]['type'] == 'longText') {
|
} else if (questions[j][1]['type'] == 'longText') {
|
||||||
document.getElementById('FormData').innerHTML += "<textarea id=''" + questions[j][0] + "' rows='4' cols='50''></textarea>";
|
document.getElementById('FormData').innerHTML += "<textarea id=''" + questions[j][0] + "' rows='4' cols='50''></textarea>";
|
||||||
} else if (questions[j][1]['type'] == 'stepper') {
|
} else if (questions[j][1]['type'] == 'stepper') {
|
||||||
document.getElementById('FormData').innerHTML += "<span id='" + questions[j][0] + "'><input type='button' onclick='dec(" + questions[j][0] + ")' value='-'></input>" + (questions[j][1]['defaultValue']).toString() + "<input type='button' onclick='inc(" + questions[j][0] + ")' value='+'></input></span>";
|
document.getElementById('FormData').innerHTML += "<span id='" + questions[j][0] + "'><input type='button' onclick='dec('" + questions[j][0] + "')' value='-'></input>" + (questions[j][1]['defaultValue']).toString() + "<input type='button' onclick='inc('" + questions[j][0] + "')' value='+'></input></span>";
|
||||||
} else if (questions[j][1]['type'] == 'range') {
|
} else if (questions[j][1]['type'] == 'range') {
|
||||||
document.getElementById('FormData').innerHTML += " " + questions[j][1]['min']['text'] + " ";
|
document.getElementById('FormData').innerHTML += " " + questions[j][1]['min']['text'] + " ";
|
||||||
document.getElementById('FormData').innerHTML += "<input type='range' min='" + questions[j][1]['min']['val'] + "' max='" + questions[j][1]['max']['val'] + "'>";
|
document.getElementById('FormData').innerHTML += "<input type='range' min='" + questions[j][1]['min']['val'] + "' max='" + questions[j][1]['max']['val'] + "'>";
|
||||||
|
Loading…
Reference in New Issue
Block a user