How can I populate a price field based on the value selected from the dropdown list

  • Profile Image
    bakeitallbetter
    Asked 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
    EltonCris
    Answered on July 05, 2014 at 09:08 PM

    Hi,

    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!