What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How do I add a drop down selection for more specific options once they select something?

    Asked by Bcsb on September 16, 2015 at 10:20 AM

    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.

    Page URL:
    http://form.jotform.us/form/52578822712157

    Selection select drop down selection how
  • Profile Image
    JotForm Support

    Answered by david on September 16, 2015 at 01:53 PM

    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.