get a dynamic cfselect to remember a selected value
Hello;
How do I get a cfselect to remember a value if a user has selected one of the choices, but forgets to fill out another form field?
here is my select:
<cfselect enabled="No" name="state" size="1" class="formSelect" multiple="no">
<option value="">--Select a State--</option>
<cfloop query= "SESSION.stat">
<option value="#state#">#state#</option>
</cfloop></cfselect>
Everything works accept for remembering what a user chooses I usually use something like value="#form.state#" but it doesn't work in this insance. Can anyone help me? I can't figure this out.
thanks
