Tag Archives: horizons

Javascript buttons for navigation

Here is an example of how you could use javascript buttons on a page. Inside a info node on the page if you add the name of your function. ^mainpage()^ In a script node if you name the function the same and enter the code – function mainpage() { var outputHTML = “”; outputHTML += […]

Read More

Answer labels into new Variable

This script will show you how to move the answer labels and not the codes to another variable. var Rolecodein = f(‘qnr_new_role‘) var Rolecodeout = f(‘__l2057ROL_CODE‘); Rolecodeout.set(Rolecodein.valueLabel()); In this example Rolecodein is a drop down the user can select a code label (Manager, Director etc.) Rolecodeout is then set as that value label “Manager” and […]

Read More