thanks in advance to anyone who helps out. i am working on a web interface for a grading system (sat prep school.) i have the server passing back tests in a JSON object. The JSON object contains the test name along with its sections and questions per section (in other words, the test structure.)
for example a snippet of the JSON for a given test might look like the following:
{"Section 1":[{"subject":"Writing","experimental":"0","manual_assign":"1","columns":"1","number":null,"difficulty":null,"answer":null}],"Section 2":[{"subject":"Critical Reading","experimental":"0","manual_assign":"0","columns":"4","number":"1","difficulty":"Easy","answer":"B"},...
from the JSON object i need to build an HTML form where the questions in a given section are vertically ordered inputs. it should look like the following image:
i'm not sure what the best way to do this is. more specifically how do i get columns of inputs vertically ordered like in the image (considering that the number of questions can vary per section based on which test is being graded.) any help is very much appreciated!