By doing <cfif #form.feed_date_m# is "m"> you are saying "Is the value of form.feed_date_m equal to the character "m".
It is not checking the loop index value.
You want to do something like this:
<cfif form.feed_date_m EQ m>
(You dont need the # in cfif)
<cfloop index="d" from=1 to=31>
<option value="#d#" <cfif form.feed_date_d EQ d>selected</cfif>>#d#</option>
<cfloop index="m" from=1 to=12>
<option value="#m#" <cfif form.feed_date_m EQ m>selected</cfif>>#monthasstring(m)</option> <
Any idea why the DATE works but the month doesn't?
If this code you provided is copied and pasted from your codeset and not manually typed in, then you need to add a hashtag to the end of #monthasstring(m)
^ _ ^
Yes, I missed that for about an hour. Thank you