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.
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.
one thing know, don't need put cfoutput tags around cf tag render ## variable.
More discussions in ColdFusion
adobe
Comments
Post a Comment