Re: Default Value for Select box - Very Urgent!!!

2007-06-28 Thread Claude Schneegans
If it is THAT urgent, the fastest method is RTFM ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: Default Value for Select box - Very Urgent!!!

2007-06-27 Thread Bobby Hartsfield
Disregarding how annoying the recent "omg omg it's urgent" trend is... try
this.






selected>#disaplycolumn#



..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Devi r [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 27, 2007 2:40 PM
To: CF-Talk
Subject: Default Value for Select box - Very Urgent!!!

Hi All,
 I'm populating the select box using cfquery. I want a particular value to
be selected as default. How can i do that??
It's very urgent. Please help me!!!



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Default Value for Select box - Very Urgent!!!

2007-06-27 Thread Will Tomlinson
> Hi All,
 
> I'm populating the select box using cfquery. I want a particular value 
> to be selected as default. How can i do that??
> It's very urgent. Please help 
me!!!

Are you using ? If so, it has an attribute called selected. 




If you're using a regular select, just stick a conditional in the  in 
your loop. 

 selected

Somethin like that...

Will

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Default Value for Select box - Very Urgent!!!

2007-06-27 Thread Charlie Griefer
why are all of your questions "very urgent!!!"?


 
selected="selected">#foo.data#


it's up to you to determine what "condition" is, since you didn't specify.

On 6/27/07, Devi r <[EMAIL PROTECTED]> wrote:
> Hi All,
>  I'm populating the select box using cfquery. I want a particular value to be 
> selected as default. How can i do that??
> It's very urgent. Please help me!!!
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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