ian stopped naming his questions

This commit is contained in:
Jacob Levine 2019-03-22 00:09:24 -05:00
parent 3fd42c46c9
commit 5200dbc4d7

View File

@ -227,7 +227,7 @@ function processAndAppendReturn(data) {
}) })
for (var j = 0; j < questions.length; j++) { for (var j = 0; j < questions.length; j++) {
document.getElementById('FormData').innerHTML += "<div>"; document.getElementById('FormData').innerHTML += "<div>";
document.getElementById('FormData').innerHTML += questions[j][1]['title']; document.getElementById('FormData').innerHTML += questions[j][0];
if (questions[j][1]['type'] == 'shortText') { if (questions[j][1]['type'] == 'shortText') {
document.getElementById('FormData').innerHTML += "<input id=''" + questions[j][0] + "' type='text'></input>"; document.getElementById('FormData').innerHTML += "<input id=''" + questions[j][0] + "' type='text'></input>";
} else if (questions[j][1]['type'] == 'longText') { } else if (questions[j][1]['type'] == 'longText') {