Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<script type="text/javascript" language="JavaScript">
var productNameArray = new Array();
<CFOUTPUT query="qryPrograms">
productNameArray[#qryPrograms.SPM_ID#] = "#qryPrograms.PROGRAM_NAME#";
</CFOUTPUT>
function populateProductField(spmID){
document.forms["formname"].textProductName.value = productNameArray[spmID];
return true;
}
</script>
<form id="productForm" name="productForm" ...>
<select id="dropdownID" name="dropdownID" onchange="javascript: populateProductField(this.value);">
<CFOUTPUT query="qryPrograms">
<option value="#qryPrograms.SPM_ID#">#qryPrograms.SPM_ID#</option>
</CFOUTPUT>
</select>
<input type="text" id="textProductName" name="textProductName">
:
</form>