<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