Question
make the drop down option to remain at the option which is just selected a while ago
After the option is selected and the submit button is clicked, the drop down option do not stay (will change to another option).
How to make the drop down option to remain at the option which is just selected a while ago?
<FORM ACTION="report.cfm" METHOD="POST" name="ChooseType">
<table width = "930px" border = "0" cellspacing = "2" cellpadding="2" style = "border-bottom-style: solid;">
<tr>
<td width= "450px">
<span class = "TitleHeader" nowrap><cfmodule template="/GetPhrase.cfm" Phrase_ID="5303" ></span>
</td>
<td align= "left" valign="top">
<B><cfmodule template="/GetPhrase.cfm" Phrase_ID="5305" ></B>
<br>
<SELECT name ="frmCriteria">
<OPTION VALUE="full"
<CFIF Variables.displayCriteria EQ "between 1 and 100">
selected
</cfif>
>
<cfmodule template="/GetPhrase.cfm" Phrase_ID="5307" >
</option> <OPTION VALUE="average"
<CFIF Variables.displayCriteria EQ #mark#>
selected
</cfif>
>
<cfmodule template="/GetPhrase.cfm" Phrase_ID="5308" >
</option> <OPTION VALUE="passed"
<CFIF Variables.displayCriteria GT #mark#>
selected
</cfif>
>
<cfmodule template="/GetPhrase.cfm" Phrase_ID="7001" >
</option>
</SELECT>
</td>
<td valign="middle" align="bottom"></td>
<input type = "submit" name = "submit" value = Submit>
</tr>
</table>
</FORM>
