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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to