On Jan 21, 2008 3:47 PM, Erika L. Walker <[EMAIL PROTECTED]> wrote:
> got a variable. form.QISALESPERSON
>
> It is equal to "Jay"
>
> I have the following form element:
>
>   <select name="QISALESPERSON">
>    <option value="">Please Choose</option>
>    <option value="Mike" <cfif trim(form.QISALESPERSON) EQ
> "Mike">selected</cfif>>Mike</option>
>    <option value="Jay" <cfif trim(form.QISALESPERSON) EQ
> "Jay">selected</cfif>>Jay</option>
>   </select>

I'd switch to looping over a list, rather than hard-coding the list,
and then maybe add a lcase() to that trim()... all of which is besides
the point assuming the values match. =]

I bet it's something simple, like Charlie suggested. :)

--
Historians are like deaf people who go on answering questions that no
one has asked them.
    Leo Tolstoy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:251464
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to