Providing Feedback in Test Results Page
August 7, 2007 12:00 AM
@Lex_Tensions] Your problems are why we create our own solutions: we'll do a big update soon on all our Lextensions - the question stuff was particularly vexing - here's a example of how to get the text of the question itself:function amIpartOfAquestion(value){if (qIDArray.length >0){if ((qIDArray.inArray(value))!='not in array'){noah = eval(value + '.childArray[0]') //THIS IS THE QUESTION THAT WAS POSED TO THE USERnumOfChildren = eval(value + '.childArray');if (qEntryValue != value){for (var m = 0; m< numOfChildren.length; m++){((numOfChildren[m wrote:
.slice(0, 2)=='ra')||(numOfChildren[m].slice(0,2)=='ch'))?qObsInArray++:'';qEntryValue = value;}qObInArray = qObsInArray;}var britt = document.getElementById(noah);karen = getObjInnerText (britt);//THIS GETS THE TEXT OF THE QUESTION THAT WAS POSED TO THE USERmitchell= (questionArray.inArray(karen));if (mitchell=='not in array'){questionArray.push(karen);}return 'positive';}}}We'll try to release some type of Lextension on this soon - would need to know if people are using the applet or the javascript titlemanagerI'm not to the level of custom JavaScript in Lectora. Could you explain how to apply this method to an existing Title?Thank you.Paul
Discussions have been disabled for this post