[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Query-Based pull-down menu needs grayed out option

Asked by geraldw in ColdFusion Application Server

Tags: down, menu, pull, form

Hello,

I'm running CFMX 6.1 (Win2003 Server) against Oracle 9i db (HP-UX).

In my web form I have a query (getDesignSizes) to get the 1 or 2 sizes that are available for an article of clothing.  Some are available in 1 size range only and some are available in 2 size ranges.

Then I have the following select statement to allow a consumer to pick the size they want to buy.

<select name="getDesignSizes">
  <cfloop query="getDesign" startrow="1">
  <option value="#getDesign.size_code#">
<span class="designViewBodySmall">#getDesign.size_code#&nbsp;&nbsp;#getDesign.size_unit#</span>
  </cfloop>
</select>

So let's say that the consumer looks at the select box and wants to see what the available size ranges are.  They would see something like this in their drop-down menu:

AA 4-6-8-10-12
BB 14-16-18-20-22

They need to choose one.  There is an "available quantity" field in the same DB table and I would like to show non-availability if one of the two size-ranges is not available in inventory.  I was thinking to gray-out the size in the select menu if the amount available is zero.  Or better yet show the grayed-out size but don't allow it to be added to the cart.

Is there a CF way to do this??  That is without using javascript in addition to the CF code.

Thanks, Jerry
[+][-]03/30/05 12:45 PM, ID: 13665778Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: ColdFusion Application Server
Tags: down, menu, pull, form
Sign Up Now!
Solution Provided By: kkhipple
Participating Experts: 3
Solution Grade: B
 
[+][-]03/30/05 01:19 PM, ID: 13666041Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/30/05 02:33 PM, ID: 13666677Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/31/05 08:11 AM, ID: 13672779Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03/31/05 08:49 AM, ID: 13673194Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/31/05 08:50 AM, ID: 13673206Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/31/05 09:36 AM, ID: 13673658Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/27/05 09:13 AM, ID: 13877765Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05/03/05 01:42 PM, ID: 13921527Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05/04/05 06:54 AM, ID: 13926631Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89