Link to home
Start Free TrialLog in
Avatar of jramos74
jramos74

asked on

Coldfusion SELECT Options

Coldfusion Question SELECT option
I have the following code:
<TD>Fruits</TD>
<cfinclude template="/market/diff_fruits.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!
ASKER CERTIFIED SOLUTION
Avatar of bwasyliuk
bwasyliuk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jramos74
jramos74

ASKER

Thanks, Ben.  I know my explanation was not clear.  But I did figure it out.  
Thanks again for your time looking at it.