= Number(pageIcon.templateData.dialog[projPI].attempts) + 1){ //still no dice. Show the right answer te.text = answers[0]; fb = correctTxt; if (dlg.getPageIndex() < dlg.pages.length - 1){ fb += "

" + moveOnTxt; } te.type = "dynamic"; } Selection.setFocus(te); } ]]>