jramos74
asked on
Coldfusion SELECT Options
Coldfusion Question SELECT option
I have the following code:
<TD>Fruits</TD>
<cfinclude template="/market/diff_fru its.cfm">
<TD colspan="4">
<SELECT name="available_fruits">
<option value="">
<cfoutput query="diff_fruits.cfm">
<option value="#code#" >#description#
</cfoutput>
</SELECT>
The Query pulls the following records:
Code Description
B Banana
A Apple
O Orange
I want to base the selections on certain users. Like User A can only pick Banana and Apple while user B can only pick Orange. Or User A can see all options but Orange is grayed out.
Any help is appreciated. Thanks!
I have the following code:
<TD>Fruits</TD>
<cfinclude template="/market/diff_fru
<TD colspan="4">
<SELECT name="available_fruits">
<option value="">
<cfoutput query="diff_fruits.cfm">
<option value="#code#" >#description#
</cfoutput>
</SELECT>
The Query pulls the following records:
Code Description
B Banana
A Apple
O Orange
I want to base the selections on certain users. Like User A can only pick Banana and Apple while user B can only pick Orange. Or User A can see all options but Orange is grayed out.
Any help is appreciated. Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks again for your time looking at it.
ASKER