// Single Choice
if(hasSCQ){
scqTitleEl = new TitleElement("form.scqtitle");
addFormElement(SCQ_TITLE, scqTitleEl);
scqItemCols = new CheckBoxElement("form.itemcols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportSCQItemFormatConfig.class)).hasResponseCols());
scqPosCol = new CheckBoxElement("form.poscol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportSCQItemFormatConfig.class)).hasPositionsOfResponsesCol());
scqPointCol = new CheckBoxElement("form.pointcol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportSCQItemFormatConfig.class)).hasPointCol());
scqTimeCols = new CheckBoxElement("form.timecols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportSCQItemFormatConfig.class)).hasTimeCols());
addFormElement(SCQ_ITEMCOLS, scqItemCols);
addFormElement(SCQ_POSCOL, scqPosCol);
addFormElement(SCQ_POINTCOL, scqPointCol);
addFormElement(SCQ_TIMECOLS, scqTimeCols);
}
// Multiple Choice
if(hasMCQ){
mcqTitleEl = new TitleElement("form.mcqtitle");
addFormElement(MCQ_TITLE, mcqTitleEl);
mcqItemCols = new CheckBoxElement("form.itemcols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportMCQItemFormatConfig.class)).hasResponseCols());
mcqPosCol = new CheckBoxElement("form.poscol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportMCQItemFormatConfig.class)).hasPositionsOfResponsesCol());
mcqPointCol = new CheckBoxElement("form.pointcol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportMCQItemFormatConfig.class)).hasPointCol());
mcqTimeCols = new CheckBoxElement("form.timecols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportMCQItemFormatConfig.class)).hasTimeCols());
addFormElement(MCQ_ITEMCOLS, mcqItemCols);
addFormElement(MCQ_POSCOL, mcqPosCol);
addFormElement(MCQ_POINTCOL, mcqPointCol);
addFormElement(MCQ_TIMECOLS, mcqTimeCols);
}
// KPRIM
if(hasKRIM){
kprimTitleEl = new TitleElement("form.kprimtitle");
addFormElement(KPRIM_TITLE, kprimTitleEl);
kprimItemCols = new CheckBoxElement("form.itemcols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportKPRIMItemFormatConfig.class)).hasResponseCols());
kprimPosCol = new CheckBoxElement("form.poscol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportKPRIMItemFormatConfig.class)).hasPositionsOfResponsesCol());
kprimPointCol = new CheckBoxElement("form.pointcol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportKPRIMItemFormatConfig.class)).hasPointCol());
kprimTimeCols = new CheckBoxElement("form.timecols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportKPRIMItemFormatConfig.class)).hasTimeCols());
addFormElement(KPRIM_ITEMCOLS, kprimItemCols);
addFormElement(KPRIM_POSCOL, kprimPosCol);
addFormElement(KPRIM_POINTCOL, kprimPointCol);
addFormElement(KPRIM_TIMECOLS, kprimTimeCols);
}
// Fill in the Blank
if(hasFIB){
fibTitleEl = new TitleElement("form.fibtitle");
addFormElement(FIB_TITLE, fibTitleEl);
fibItemCols = new CheckBoxElement("form.itemcols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportFIBItemFormatConfig.class)).hasResponseCols());
fibPointCol = new CheckBoxElement("form.pointcol", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportFIBItemFormatConfig.class)).hasPointCol());
fibTimeCols = new CheckBoxElement("form.timecols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportFIBItemFormatConfig.class)).hasTimeCols());
addFormElement(FIB_ITEMCOLS, fibItemCols);
addFormElement(FIB_POINTCOL, fibPointCol);
addFormElement(FIB_TIMECOLS, fibTimeCols);
}
// Essay
if(hasEssay){
essayTitleEl = new TitleElement("form.essaytitle");
addFormElement(ESSAY_TITLE, essayTitleEl);
essayItemCols = new CheckBoxElement("form.itemcols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportEssayItemFormatConfig.class)).hasResponseCols());
essayTimeCols = new CheckBoxElement("form.timecols", ((QTIExportItemFormatConfig) mapWithConfigs.get(QTIExportEssayItemFormatConfig.class)).hasTimeCols());
addFormElement(ESSAY_ITEMCOLS, essayItemCols);
addFormElement(ESSAY_TIMECOLS, essayTimeCols);
}
addSubmitKey("next"); // wizard style