On 9/4/00, Peter Theobald penned:
>That works, but it's UGLY. I have 40 options. Now I have to put 
>"[option value="a" <cfif #val# eq "a">Selected</cfif>>Apple" on all 
>40 lines instead of putting it in the one place where it's SUPPOSED 
>to work.

That's NOT how it's supposed to work though. CFSELECT is meant to be 
populated by a database query. In which case you wouldn't have to put 
ANY option tags. You're just doing a regular SELECT tag and putting a 
CF in front of it if you're putting all the options in manually. :)
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to