diff --git a/QuestionPaperPreview.js b/QuestionPaperPreview.js index d5aea5f..99402a4 100644 --- a/QuestionPaperPreview.js +++ b/QuestionPaperPreview.js @@ -1,7 +1,7 @@ function QuestionPaperPreview(jsonData){ // The provided JSON data - +// console.log(jsonData) function convertToLatex(text, mathstatus) { // Parse mathstatus into a boolean const mathStatusBoolean = JSON.parse(mathstatus); @@ -67,10 +67,10 @@ function GroupQuestion(question, questionIndex, depth) { questionPaper += `${question.group_title}`; questionPaper += `${question.group_description}`; const nestedQuestions = question.questions; - // Process nested questions in the same way nestedQuestions.forEach((nestedQuestion) => { - processQuestion(nestedQuestion, questionIndex, depth); + // processQuestion(nestedQuestion, questionIndex, depth); + CheakQnType(nestedQuestion,questionIndex,depth); }); } diff --git a/addform.html b/addform.html index 57c9557..f9594e3 100644 --- a/addform.html +++ b/addform.html @@ -546,8 +546,14 @@ + + + + + +