Use VBScript in instruction files
If you want to use VBScript with <SOP> elements, the SOP parameters must be included in a hidden span (labeled
parameter1
) that contains the <SOP> element. At runtime the eProcedure
Server replaces the <SOP> element with its value and the VBScript accesses the value by referencing parameter1
.In the VBScript, insert the element
<SOP>parameter1</SOP>
where parameter1
is a legal parameter for this phase:<FORM><SPAN id="Parameter1 style=display:none><SOP>PARAMETER1</SOP></SPAN><SCRIPT language=vbscript>msgbox document.all("Parameter1").innertext</SCRIPT>
</FORM>
Provide Feedback