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.
At 09:28 PM 9/1/00 -0700, James wrote:
>Change it to this
>
>[cfform action="#CGI.SCRIPT_NAME#" method="post">
> [cfselect name="letter" >
> [option value="A">Apple
> [option value="B" selected>Bear
> [option value="C">Car
> [/cfselect>
> [input type=submit>
>[/cfform>
>
>-----Original Message-----
>From: Peter Theobald [mailto:[EMAIL PROTECTED]]
>Sent: Friday, September 01, 2000 9:04 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: CFSELECT, selected= doesnt work?! Am I going crazy?
>
>
>I have been banging my head on the simplest thing. Why doesn't THIS work? It
>doesn't select choice 'B'.
>
>[cfform action="#CGI.SCRIPT_NAME#" method="post">
> [cfselect name="letter" selected="B">
> [option value="A">Apple
> [option value="B">Bear
> [option value="C">Car
> [/cfselect>
> [input type=submit>
>[/cfform>
>
>(please excuse the [ I dont know how else to show HTML/CFML without my mail
>program eating the tags)
>
>
>
>---------------------------------------------------------------------------
>Peter Theobald, Chief Technology Officer
>LiquidStreaming http://www.liquidstreaming.com
>[EMAIL PROTECTED]
>Phone 1.212.545.1232 Fax 1.212.679.8032
>
>----------------------------------------------------------------------------
>--
>Archives: http://www.mail-archive.com/[email protected]/
>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.
>
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/[email protected]/
>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.
---------------------------------------------------------------------------
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.