In my case I added

<OPTION VALUE="All" select>All


to make it the default option.

thanks,

Luis

-----Original Message-----
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 10:00 AM
To: CF-Talk
Subject: RE: Adding All to cfselect


You can manually include any options you want between the start and end tags
as in:

        <CFSELECT ... >
                <OPTION VALUE="All">All
        </CFSELECT>

Unfortunately, these manually added options will only appear at the bottom
of the list.

Alternatively, you can use JavaScript to add items to the list once the code
is received by the client.  However, not all browsers... blah blah blah.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Luis Lebron [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 09, 2003 10:43 AM
> To: CF-Talk
> Subject: Adding All to cfselect
>
>
> I want to use cfselect to dynamically generate select boxes,
> however I also
> need to have an "All" option as part of the select. Is there any
> easy way to
> do this other than adding "All" to the database field?
>
>
> thanks,
>
> Luis R. Lebron
> Project Manager
> Sigmatech, Inc
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to