shot in the dark, do you not have to close the <option> tag 
i.e.   <option Value="Yes" <cfif billable is "Yes">selected</cfif>>Yes</option>

 
________________________________

From: Richard Colman [mailto:[EMAIL PROTECTED]
Sent: Tue 05/04/2005 19:44
To: CF-Talk
Subject: Mystified about select box



I am mystified about this one:

Part A:

billable=#billable#
<cfif billable is "Yes">print yes</cfif>
<cfif billable is "No">print no</cfif>

(billable is always yes or no)

Part B:

<select name="clusterbillable">
        <option Value="Yes" <cfif billable is "Yes">selected</cfif>> Yes
        <option Value="No" <cfif billable is "No">selected</cfif>> No
</select>

Part A works fine, indicating variables and data ok.
Part B does not work, and I use the exact same method a little further down
in the form.

Can anyone see an error???

TNX if you can help.


Richard Colman





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201566
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to