Apostrophe in question feedback
April 6, 2009 12:00 AM
I have looked at the file and here is the problem:
Lectora is inserting a JavaScript function called 'checkQuestions' within that function there is an if statment inside an if statement that looks like this:
if (var == 'something') alert ( 'Answer is correct. Your deemed appropriate for CEO's review') else if(var == 'another thing') alert ('Answer is incorrect. Your not deemed appropriate for CEO's review')
then it goes on, but the ' is causing the statement to end at the end of the first CEO, this could be fixed manually, but that is not a fix long term for those using Lectora without knowing code.
Discussions have been disabled for this post