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

    Why my calculation is not working properly?

    Asked by fklinkert on June 16, 2017 at 12:24 PM

    Hi guys!

    I want to create an instant price quote form for my customers. We are selling perfume lines. Right now the form looks like this:

     

    1. Choose flacon size (7 options)

    2. Choose special add-on (6 options)

    3. Choose packaging (3 options)

    4. Specify order quantity (20 options)

    5. Select shipping location (8 options)

     

    The calculation behind the form should to be like this:

    (("1.PRICE OF FLACON" + "2.SPECIAL ADD-ON" + "3.PACKAGING TYPE") * "4.ORDER QUANTITY") + 5.SHIPPING COST = TOTAL PRICE

    I tried for hours but now I'm a little bit helpless in finding the right way to setup a proper calculation with the right formula. Is it even possible to create a calculation like this with JotForm?

    I really hope you can support me!!!

    Thanks

    Fred

    Page URL:
    https://form.jotformeu.com/71644943352358

  • Profile Image
    JotForm Support

    Answered by Nik_C on June 16, 2017 at 01:11 PM

    The issue is that you're using Image picker widget in calculations and that just can not work since that widget doesn't have calculation values.

    In order to make this work, you will have to add an additional text box (you can make it hidden in the form) that will hold the price for those image picker options, for example:

    Now, we need to create a condition that will insert a value in that text field when certain Image checkbox is selected, for example:

    So you use the name of the choice in conditions (i.e. Basic folding box), and 10 is the actual price for that choice. You have to do conditions separately for each choice in image picker.

    Finally, in form calculations widget you will include newly added text fields (in my example called "type of box calculation"). 

    Since you have only two Image picker widgets, you need to do that for those two fields.

    If you need any further assistance please let us know.

    Thank you!