Dynamic Form Select Menus
I've noticed that when I'm inserting a dynamic drop down select menu where the options are built from a Recordset, the last record in the recordset is always selected and the menu always opens upwards. It also always ignores the fact if I throw in a static option and have that set at the default "Currently Selected" option, it will ignore that also.
In the picture below, I want the static option of "Select a Medium" to appear before a user hits the drop down select and once they hit it, I want the drop down's options to be listed in an ascending alphabetical order not to mention I'd like the menu to drop downward instead of opening upwards. (The records are currently in order in the database in an alphabetical order)


Here is the code btw
<form action="" method="get"><select name="test">
<option value="" <cfif (isDefined("rsMediums.mediumID") AND "" EQ rsMediums.mediumID)>selected="selected"</cfif>>Select a Medium</option>
<cfoutput query="rsMediums">
<option value="#rsMediums.mediumID#" <cfif (isDefined("rsMediums.mediumID") AND rsMediums.mediumID EQ rsMediums.mediumID)>selected="selected"</cfif>>#rsMediums.mediumName#</option>
</cfoutput>
</select></form>
