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 can I populate a price field based on the value selected from the dropdown list

    Asked by bakeitallbetter on July 05, 2014 at 06:52 PM

    I am creating an order form and I will have a drop-down list of items.  I want a 'Price' field to automatically populate based on the drop down selection.  For example, cookies are $1.50 each.  The user will select the type of cookie from the drop down and select the quantity.  However, I do not want the user to enter the price themselves.

  • Profile Image
    JotForm Support

    Answered by EltonCris on July 05, 2014 at 09:08 PM


    Yes that's possible.

    1. First, you have to add calculation values to your dropdown options. 

    Check this screenshot to learn how.

    2. Use Form Calculation Widget on your Price Field.

    and then open the Calculation Wizard on your Price field and add the dropdown field on the formula area.

    Feel free to customize it or add formula according to your preference. If you're looking for a conditional logic and update a certain field, you can use the following condition method.

    Hope this helps. Cheers!