Test/Survey Default Response

clammers
clammers Community Member Posts: 123 ♪ Opening Act ♪
Does anybody know of a way to change the default text in the pop-up for tests/surveys when an answer is not selected? Currently, the text that appears says "You must answer all of the questions to continue." I'd like to edit this text to something different. Is this possible?

Comments

  • timk
    timk Community Member Posts: 1,207 ♦ Idol ♦
    Go to File > Lectora Preferences > Publish Strings and edit Row 24 "The prompt presented to the user when they must answer all questions in the test to proceed". Keep in mind it's a Lectora preference, not a title setting.

    Tim
  • klaatu
    klaatu Community Member Posts: 988
    Try this. Add a run javascript action on the next button with the following code:

    document.querySelector('span[id^="mb_message_div"]').innerHTML = "Enter text here you wish the user to see";

    Add a condition to that that run javascript  - variable (choose the question) relationship (is empty).

    Hope this helps.