Hello,

Is this what you where talking about?

<select name="select">
<cfloop from="#Now()#" to="#Now() + 2#" index="i">
<cfoutput><option value="#dateformat(i, "mm/dd/yyyy")#">#dateformat(i, 
"mm/dd/yyyy")#</option></cfoutput>
</cfloop>
</select>


That will output a select menu and will give the user the option to select 
todays date, tomorrows or the next days date. Since you always have to count 
todays date, you'll see Now +2 which is actually 3 because of todays date plus 
2 more.

You mentioned validating the dates but you talked about how to only display the 
days based on a certain amount of days.

Chris 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268434
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to