How to only show field input instructions in the end user interface

Sometimes it is desirable to show input instructions in the end user interface, without cluttering up the staff interface. The most common solution to preventing clutter is simply to use pop-up text that only shows up when the cursor is over the field, but if you really need the text to be shown at all times, here is a bit of JavaScript that will have the desired effect. Simply change the text “This text is only shown in the end-user interface” to the desired string and enter the following as the text for the field Input Instruction:

<div id="pa_instruction_eui_only"><p>This text is only shown in the end-user interface</p></div>
<script>if (GUIDataTypeControl.CONSOLE == "0" && document.getElementById("pa_instruction_eui_only")) document.getElementById("pa_instruction_eui_only").style.display="none";</script>
1 Like