Widget:WJG Random Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 603: | Line 603: | ||
} | } | ||
function TNG(event) { | function TNG(event) { | ||
if (window.exam.examtype ==null || window.exam.examType == null || window.exam.examtype == null || window.exam.qbank == null || window.exam.searchMethod ==null || window.exam.timeAmt ==null){ | |||
alert('Please ensure all exam options are selected.'); | |||
return; | |||
}; | |||
window.exam.numQuestion = $("#numQues").val(); | window.exam.numQuestion = $("#numQues").val(); | ||
if (window.exam.numQuestion > 0 && window.exam.numQuestion <= 45) { | if (window.exam.numQuestion > 0 && window.exam.numQuestion <= 45) { |