Well dang it all to heck (hate those filters) ;-)

I could have sworn I had seen it act differently (testing logon credentials as a matter of fact), but I just fired up a test and sure enough you're right (shoulda trusted ya...you spell your name with a 'y' as well) ;-)

Well I guess I've used a few extra UCase() funtions along the way!!

Thanks for for that one Bryan

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  ----- Original Message -----
  From: Bryan F. Hogan
  To: CF-Talk
  Sent: Monday, March 01, 2004 1:00 PM
  Subject: Re: populating dropdowns

  <cfset form.mySelectBox='biff'>
  <cfif FORM.MySelectBox eq "BIFF">true<cfelse>false</cfif>

  It is not case sensitive, on any version of cf.

  Bryan Stevenson wrote:

  > Well let's say there are 2 programmers...
  >
  > 1 makes the select box and fills all the values in in lower case
  >
  > The second programmer is doing whatever based on the value selected in
  > the select box and writes this line:
  > <cfif FORM.MySelectBox eq "BIFF">
  >
  > That condition will never be true because case was not considered...the
  > line should read
  >
  > <cfif UCase(FORM.MySelectBox) eq "BIFF">
  >
  > This is assuming that "biff" only has one meaning no matter what case
  > it's in.
  >
  > Does that make sense??
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to