**Bcsb**For example:

Ribbon color choices:

red

black

green

yellow

and once they pick a color, then a drop down comes up with yardage amount and quantity.

I'd also like to be able to put in the amount and have it calculate as they make selections.

- JotForm Support
**david**Hi,

For this setup, you would want to use the show/hide form field condition:

https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

Create a checkbox field for each one of your options, then two text boxes to be shown when the option is checked:

Setup the show/hide condition to show the text boxes:

Then setup a calculation widget in your form to calculate the total:

http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

I wasn't sure how you wanted the yardage factored in the to equation, so I left it out for now:

All that equation does is add up the quantities for each product, then multiply the total quantity by $6.50. It looks like all your products are $6.50 which is why I set it up that way. This calculation can be altered to include the yardage or anything else you might like.

You can then forward that total to a payment field:

http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

Here is my quick test form to show you how it works:

http://form.jotformpro.com/form/52584931260961

You can clone it to see if the full setup if you'd like:

https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

If you need any help getting this setup to your liking, let us know and we will be happy to assist you.