cfcalendar selecteddate


i trying use selected date on conditional basis , keep getting invalid date/time string error, missing?

code:
<cfcalendar name="senddate" endrange="#range#" selecteddate="<cfif isdefined('url.recordid')><cfoutput>#dateformat(getrecord.senddate, "mm/dd/yyyy")#</cfoutput></cfif>" >

error:
"10/04/2006" invalid date or time string.

i've never put cfif statements in quotes of cf tag. legal? seem remember trying once while , getting error. new feature? make life lot easier me in couple of particular cases. i'll give whack.

one thing know, don't need put cfoutput tags around cf tag render ## variable.


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support