Calculation field: How to change prices depending on options

  • Profile Image
    speejack
    Asked on May 22, 2014 at 07:58 AM

    Hello,

    Thank you for your explanation earlier. However, I still can't figure out how to set it up properly.

    Pls take a look at this form: http://www.jotform.com//?formID=41395497948373

    The client fills in the amount of minutes, which is multiplied by 1 ($ an hour), than they have 2 more options to choose, these options need to be included in the price calculation. Even after following instructions and selecting them I don't know how to get this added up into the calculation field.

    Can you help?

    Thanks a lot,

    Jack

  • Profile Image
    aytekin
    Answered on May 22, 2014 at 11:28 AM

    First of all you should really use radio buttons instead of checkboxes. Since the user want the user to choose EITHER standart OR VERBATIM. You do not want them to choose both. 

    I have prepared an example here:

    http://form.jotformpro.com/form/41414023522944?

     

    Please try it first and see if this is what you wanted. If it is, you can either clone the form or apply it to your form. Here is a screenshot tutorial:

    First I added two hidden fields. You make fields hidden by adding a regular field and then selecting "Hide" from options:

     

     

     

     

     

    So, after adding Type Value and Turnaround Value, I need to make them change depending on what the user choses. Again, checkboxes makes this slightly incorrect. If you use radio buttons they will work better. 

    For each one I added a condition:

     

    The calculation will set a value to the hidden fields:

     

    Next, I added these fields to the calculation field:

     

    It works pretty well. If you have any further questions please let me know.

  • Profile Image
    EliezerN
    Answered on May 22, 2014 at 11:39 AM

    @Jack

    In addition, you can also assign separated and specific calculation values each one of your checkboxes and Radio Button options in order to get the desired calculation.

    To add the Calculation values to your check boxes, please follow these stesp:

    1. Right click on the Type field.

    2. Then, click on Show Properties.

    3. Then, add the values in the Calculation Values section. Simply click on the Click to Edit area.

    I hope this helps you. Feel free to let us know you need further assistance with this query.

    Thanks

  • Profile Image
    aytekin
    Answered on May 22, 2014 at 11:41 AM

    That's actually a much simpler solution. Instead of creating hidden fields, give each option a calculation value. And the final calculation will be similar. 

  • Profile Image
    EliezerN
    Answered on May 22, 2014 at 11:51 AM

    By the way, here is the URL of my cloned form with the already-added calculation values.

    http://form.jotformpro.com/form/41414316418953

    The calculation values of the options of my form are 0.30 and the formula is in this way.

    Thanks