--- rat/client/parameter.html 2003/05/22 23:13:58 1.24 +++ rat/client/parameter.html 2003/07/10 08:34:43 1.25 @@ -3,7 +3,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.24 2003/05/22 23:13:58 www Exp $ +// $Id: parameter.html,v 1.25 2003/07/10 08:34:43 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -304,6 +304,11 @@ function stringeval() { draw(); } +function radiostringeval(newval) { + svalue=newval; + draw(); +} + function intervaldis() { csecs=svalue; cdays=Math.floor(csecs/86400); @@ -520,12 +525,74 @@ function draw() { tablestart('Default value or none'); choicewrite(''); } else { - if (pscat=='any') { + if ((pscat=='any') || (pscat=='') || (typeof(pscat)=='undefined')) { tablestart('Text'); + choicewrite('Value:'); + choicewrite(''); + } + if (pscat=='yesno') { + tablestart('Yes/No'); + choicewrite('Value:'); + choicewrite(' Yes
'); + choicewrite(' No
'); + } + if (pscat=='examtype') { + tablestart('Exam Type'); + choicewrite('Value:'); + choicewrite(' Online
'); + choicewrite(' Check out
'); + } + if (pscat=='questiontype') { + tablestart('Question Type'); + choicewrite('Value:'); + choicewrite(' Standard Problem
'); + choicewrite(' Quiz
'); + choicewrite(' Exam
'); + choicewrite(' Assessment
'); + choicewrite(' Survey
'); + choicewrite(' Input Form
'); + choicewrite(' Library
'); + } + if (pscat=='ip') { + tablestart('IP Number/Name'); + choicewrite('Value:'); + choicewrite(''); } - choicewrite('Value:'); - choicewrite(''); choicewrite(''); } }