= Number(pageIcon.templateData.dialog[0].attempts) + 1){ //still no dice. Show the right answer te.text = answers[0]; fb = "The correct answer is shown."; if (dlg.getPageIndex() < dlg.pages.length - 1){ fb += " Press enter to move on."; } te.type = "dynamic"; } Selection.setFocus(te); } ]]>