I my form I am dynamically buiding an drop down. Everything get populated ecept when i select something and store to the DB when next time I go in and load the I would like this drop down to be prepopluated with previous value
cfloop query="qryQuestionOptionsR
eview1">
<cfset selectOptions = selectOptions & '<option value="#options#_#id#">#op
tions#</op
tion>'>
</cfloop>
an then i do
<cfif len(trim(selectOptions)) gt 0>
<select name="sel_#id#" id="sel">
<cfoutput>#selectOptions#<
/cfoutput>
</select>
<br />
</cfif>
Start Free Trial